Class ServerError

java.lang.Object
java.lang.Throwable
java.lang.Exception
All Implemented Interfaces:
Serializable

public classServerErrorextendsRemoteException
AServerError is thrown as a result of a remote method invocation when anError is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value. AServerError instance contains the originalError that occurred as its cause.
Since:
1.1
See Also:
  • Constructor Details

    • ServerError

      public ServerError(String s,Error err)
      Constructs aServerError with the specified detail message and nested error.
      Parameters:
      s - the detail message
      err - the nested error
      Since:
      1.1