| CONTENTS | PREV | NEXT | Java Remote Method Invocation |
Exception Context
java.rmi.UnmarshalExceptionCorrupted stream leads to either an I/O or protocol error when:
Marshaling return header Checking return type Checking return code Unmarshaling return
Return value class not found.
java.rmi.UnexpectedExceptionAn exception not mentioned in the method signature occurred (excluding runtime exceptions). The
UnexpectedExceptionexception object contains the underlying exception that was thrown by the server.
java.rmi.ServerErrorAny error that occurs while the server is executing a remote method. The
ServerErrorexception object contains the underlying error that was thrown by the server,
java.rmi.ServerExceptionThis exception is thrown as a result of a remote method invocation when a
RemoteExceptionis thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself. For examples, see Section A.3.1, "Possible Causes of java.rmi.ServerException".
java.rmi.ServerRuntimeExceptionnote: this exception is deprecated as of Java 2 SDK, Standard Edition, v1.2
This exception is not thrown by servers running Java 2 SDK, Standard Edition, v1.2-compatible versions. A
RuntimeExceptionis propagated to clients intact.