| java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.rmi.RemoteException
All known Subclasses: java.rmi.UnexpectedException, java.rmi.MarshalException, java.rmi.ServerException, java.rmi.AccessException, javax.microedition.xlet.ixc.StubException,
RemoteException | public class RemoteException extends java.io.IOException (Code) | | A RemoteException is the common superclass for a number of
communication-related exceptions that may occur during the execution of a
remote method call. Each method of a remote interface, an interface that
extends java.rmi.Remote , MUST list
RemoteException in its throws clause.
version: 1.21, 02/21/02 since: JDK1.1 |
Field Summary | |
public Throwable | detail Nested exception to hold wrapped remote exception. |
Constructor Summary | |
public | RemoteException() Constructs a RemoteException with no specified
detail message. | public | RemoteException(String s) Constructs a RemoteException with the specified
detail message. | public | RemoteException(String s, Throwable ex) Constructs a RemoteException with the specified
detail message and nested exception. |
Method Summary | |
public String | getMessage() Returns the detail message, including the message from the nested
exception if there is one. |
detail | public Throwable detail(Code) | | Nested exception to hold wrapped remote exception.
since: JDK1.1 |
RemoteException | public RemoteException()(Code) | | Constructs a RemoteException with no specified
detail message.
since: JDK1.1 |
RemoteException | public RemoteException(String s)(Code) | | Constructs a RemoteException with the specified
detail message.
Parameters: s - the detail message since: JDK1.1 |
RemoteException | public RemoteException(String s, Throwable ex)(Code) | | Constructs a RemoteException with the specified
detail message and nested exception.
Parameters: s - the detail message Parameters: ex - the nested exception since: JDK1.1 |
getMessage | public String getMessage()(Code) | | Returns the detail message, including the message from the nested
exception if there is one.
since: JDK1.1 the message saved when the exception was constructed |
|
|