- All Implemented Interfaces:
Serializable
public class ServerError extends RemoteException
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:
- Serialized Form
Field Summary
Fields declared in class java.rmi.RemoteException
detail
Constructor Summary
Constructors Constructor Description ServerError(String s, Error err)
Constructs aServerError
with the specified detail message and nested error.
Method Summary
Methods declared in class java.rmi.RemoteException
getCause, getMessage
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString