public final class RemoteExceptionUtils
extends java.lang.Object
RemoteExceptionUtils - Utility class for handling of exceptions occurring during administrative RMI invocations.| Modifier and Type | Method and Description |
|---|---|
static java.rmi.RemoteException |
convertException(java.lang.Exception e)
Converts given exception to a
RemoteException for safe passing through RMI marshaling stack. |
static java.rmi.RemoteException |
enhanceRemoteException(java.rmi.RemoteException e,
java.lang.String exceptionId)
Enhances given remote exception by a unique exception identifier.
|
public static java.rmi.RemoteException convertException(java.lang.Exception e)
RemoteException for safe passing through RMI marshaling stack.e - The exception to convertRemoteExceptionpublic static java.rmi.RemoteException enhanceRemoteException(java.rmi.RemoteException e,
java.lang.String exceptionId)
e - The remote exception to enhanceexceptionId - The exception identifier