Module org.eclipse.persistence.core
Class CommunicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.CommunicationException
- All Implemented Interfaces:
 Serializable
Purpose:This exception wraps all RMI or CORBA or IO exception that may occur.
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intPUBLIC: Creates a CommunicationException.static final intstatic final intstatic final intFields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException - 
Constructor Summary
ConstructorsConstructorDescriptionCommunicationException(String theMessage) CommunicationException(String message, Exception internalException) PUBLIC: Creates a CommunicationException. - 
Method Summary
Modifier and TypeMethodDescriptionstatic CommunicationExceptionerrorInInvocation(Exception exception) static CommunicationExceptionerrorSendingConnectionService(String serviceName, Exception exception) static CommunicationExceptionerrorSendingMessage(String serviceId, Exception exception) static CommunicationExceptionunableToConnect(String serviceName, Exception exception) static CommunicationExceptionunableToPropagateChanges(String serviceName, Exception exception) Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace 
- 
Field Details
- 
ERROR_SENDING_CONNECTION_SERVICE
public static final int ERROR_SENDING_CONNECTION_SERVICEPUBLIC: Creates a CommunicationException.- See Also:
 
 - 
UNABLE_TO_CONNECT
public static final int UNABLE_TO_CONNECT- See Also:
 
 - 
UNABLE_TO_PROPAGATE_CHANGES
public static final int UNABLE_TO_PROPAGATE_CHANGES- See Also:
 
 - 
ERROR_IN_INVOCATION
public static final int ERROR_IN_INVOCATION- See Also:
 
 - 
ERROR_SENDING_MESSAGE
public static final int ERROR_SENDING_MESSAGE- See Also:
 
 
 - 
 - 
Constructor Details
- 
CommunicationException
 - 
CommunicationException
PUBLIC: Creates a CommunicationException.- Parameters:
 message- the detailed messageinternalException- the handle of the exception
 
 - 
 - 
Method Details
- 
errorSendingConnectionService
public static CommunicationException errorSendingConnectionService(String serviceName, Exception exception)  - 
unableToConnect
 - 
unableToPropagateChanges
public static CommunicationException unableToPropagateChanges(String serviceName, Exception exception)  - 
errorInInvocation
 - 
errorSendingMessage
 
 -