java.rmi
public class: ServerException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
java.rmi.ServerException
All Implemented Interfaces:
Serializable
A
ServerException is thrown as a result of a remote method
invocation when a
RemoteException is thrown while processing
the invocation on the server, either while unmarshalling the arguments or
executing the remote method itself.
A
ServerException instance contains the original
RemoteException that occurred as its cause.
- author:
Ann - Wollrath
- since:
JDK1.1 -
| Constructor: |
public ServerException(String s) {
super(s);
}
Constructs a ServerException with the specified
detail message. Parameters:
s - the detail message
- since:
JDK1.1 -
|
public ServerException(String s,
Exception ex) {
super(s, ex);
}
Constructs a ServerException with the specified
detail message and nested exception. Parameters:
s - the detail message
ex - the nested exception
- since:
JDK1.1 -
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |