public VM getVM() {
    return vm;
  }
Creates a new {@code RMIException} to indicate that an exception of a given type was
thrown while invoking a given method.

@param vm The VM in which the method was executing
@param className The name of the class whose method was being invoked remotely
@param methodName The name of the method that was being invoked remotely
@param cause The type of exception that was thrown in the remote VM
@param stackTrace The stack trace of the exception from the remote VM
geode-dunit/src/main/java/org/apache/geode/test/dunit/RMIException.java