public class CommunicationException extends EclipseLinkException
Purpose:This exception wraps all RMI or CORBA or IO exception that may occur.
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_IN_INVOCATION |
static int |
ERROR_SENDING_CONNECTION_SERVICE
PUBLIC:
Creates a CommunicationException.
|
static int |
ERROR_SENDING_MESSAGE |
static int |
UNABLE_TO_CONNECT |
static int |
UNABLE_TO_PROPAGATE_CHANGES |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Constructor and Description |
---|
CommunicationException(java.lang.String theMessage) |
CommunicationException(java.lang.String message,
java.lang.Exception internalException)
PUBLIC:
Creates a CommunicationException.
|
Modifier and Type | Method and Description |
---|---|
static CommunicationException |
errorInInvocation(java.lang.Exception exception) |
static CommunicationException |
errorSendingConnectionService(java.lang.String serviceName,
java.lang.Exception exception) |
static CommunicationException |
errorSendingMessage(java.lang.String serviceId,
java.lang.Exception exception) |
static CommunicationException |
unableToConnect(java.lang.String serviceName,
java.lang.Exception exception) |
static CommunicationException |
unableToPropagateChanges(java.lang.String serviceName,
java.lang.Exception exception) |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int ERROR_SENDING_CONNECTION_SERVICE
public static final int UNABLE_TO_CONNECT
public static final int UNABLE_TO_PROPAGATE_CHANGES
public static final int ERROR_IN_INVOCATION
public static final int ERROR_SENDING_MESSAGE
public CommunicationException(java.lang.String theMessage)
public CommunicationException(java.lang.String message, java.lang.Exception internalException)
message
- the detailed messageinternalException
- the handle of the exceptionpublic static CommunicationException errorSendingConnectionService(java.lang.String serviceName, java.lang.Exception exception)
public static CommunicationException unableToConnect(java.lang.String serviceName, java.lang.Exception exception)
public static CommunicationException unableToPropagateChanges(java.lang.String serviceName, java.lang.Exception exception)
public static CommunicationException errorInInvocation(java.lang.Exception exception)
public static CommunicationException errorSendingMessage(java.lang.String serviceId, java.lang.Exception exception)