java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.dirmi.RemoteException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClosedException,DisconnectedException,NoSuchObjectException,UnimplementedException
Defines the default exception for indicating a remote call failure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteException(String message) RemoteException(String message, Throwable cause) RemoteException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the associated remote address, which can be null if unknown or not applicable.voidremoteAddress(SocketAddress addr) Assign the associated remote address.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RemoteException
public RemoteException() -
RemoteException
-
RemoteException
-
RemoteException
-
-
Method Details
-
remoteAddress
Returns the associated remote address, which can be null if unknown or not applicable. -
remoteAddress
Assign the associated remote address. -
getMessage
- Overrides:
getMessagein classThrowable
-