void registerError(String methodName, @SuppressWarnings("SameParameterValue") String op, Throwable e) {
    if (myPostponedError == null) {
      ByteArrayOutputStream out = new ByteArrayOutputStream();
      e.printStackTrace(new PrintStream(out));
      String message = "Operation '" + op + "' failed for " + myClassName + '.' + methodName + "(): " + e.getMessage() + '\n' + out;
      myPostponedError = new RuntimeException(message, e);
    }
    if (myInstrumented) {
      throw myPostponedError;
    }
  }
void registerError(String methodName, @SuppressWarnings("SameParameterValue") String op, Throwable e)