CONTENTS | PREV | NEXT Java Remote Method Invocation


A.3.1 Possible Causes of java.rmi.ServerException

These are some of the underlying exceptions which can occur on the server when the server is itself executing a remote method invocation. These exceptions are wrapped in a java.rmi.ServerException; that is the java.rmi.ServerException contains the original exception for the client to extract. These exceptions are wrapped by ServerException so that the client will know that its own remote method invocation on the server did not fail, but that a secondary remote method invocation made by the server failed.

Exception
Context

java.rmi.server.SkeletonMismatchException

note: this exception is deprecated as of the Java 2 SDK, Standard Edition, v1.2

Hash mismatch of stub and skeleton.

java.rmi.UnmarshalException

I/O error unmarshaling call header. I/O error unmarshaling arguments.

java.rmi.MarshalException

Protocol error marshaling return.

java.rmi.RemoteException

Method number out of range due to corrupted stream.



CONTENTS | PREV | NEXT