Class DiscoveryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.persistence.exceptions.EclipseLinkException
-
- org.eclipse.persistence.exceptions.RemoteCommandManagerException
-
- org.eclipse.persistence.exceptions.DiscoveryException
-
- All Implemented Interfaces:
java.io.Serializable
public class DiscoveryException extends RemoteCommandManagerException implements java.io.Serializable
Instances of this exception are raised if a problem is detected during the discovery of a TopLink cluster. This occurs as part of the RemoteCommandManager feature. TopLink exceptions should only ever be thrown by TopLink code.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_JOINING_MULTICAST_GROUP
static int
ERROR_LOOKING_UP_LOCAL_HOST
static int
ERROR_RECEIVING_ANNOUNCEMENT
static int
ERROR_SENDING_ANNOUNCEMENT
-
Fields inherited from class org.eclipse.persistence.exceptions.RemoteCommandManagerException
ERROR_BINDING_CONNECTION, ERROR_CREATING_JGROUPS_CONNECTION, ERROR_CREATING_JMS_CONNECTION, ERROR_CREATING_LOCAL_JMS_CONNECTION, ERROR_CREATING_OC4J_JGROUPS_CONNECTION, ERROR_DESERIALIZE_REMOTE_COMMAND, ERROR_DISCOVERING_IP_ADDRESS, ERROR_GETTING_HOST_NAME, ERROR_GETTING_SERVERPLATFORM, ERROR_LOOKING_UP_REMOTE_CONNECTION, ERROR_OBTAINING_CONTEXT_FOR_JNDI, ERROR_PROCESSING_REMOTE_COMMAND, ERROR_PROPAGATING_COMMAND, ERROR_RECEIVED_JMS_MESSAGE_IS_NULL, ERROR_RECEIVING_JMS_MESSAGE, ERROR_SERIALIZE_OR_DESERIALIZE_COMMAND, ERROR_UNBINDING_LOCAL_CONNECTION, RCM_UNINITIALIZED_OR_CLOSED
-
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
-
Constructor Summary
Constructors Constructor Description DiscoveryException()
DiscoveryException(java.lang.String theMessage)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DiscoveryException
errorJoiningMulticastGroup(java.lang.Exception internalEx)
static DiscoveryException
errorLookingUpLocalHost(java.lang.Exception internalEx)
static DiscoveryException
errorReceivingAnnouncement(java.lang.Exception internalEx)
static DiscoveryException
errorSendingAnnouncement(java.lang.Exception internalEx)
-
Methods inherited from class org.eclipse.persistence.exceptions.RemoteCommandManagerException
errorBindingConnection, errorCreatingJGroupsConnection, errorCreatingJMSConnection, errorCreatingLocalJMSConnection, errorCreatingOc4jJGroupsConnection, errorDeserializeRemoteCommand, errorDiscoveringLocalHostIPAddress, errorGettingHostName, errorGettingServerPlatform, errorJMSMessageIsNull, errorLookingUpRemoteConnection, errorObtainingContext, errorProcessingRemoteCommand, errorReceivingJMSMessage, errorSerializeOrDeserialzeCommand, errorUnbindingLocalConnection, remoteCommandManagerIsClosed, unableToPropagateCommand
-
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, toString
-
-
-
-
Field Detail
-
ERROR_JOINING_MULTICAST_GROUP
public static final int ERROR_JOINING_MULTICAST_GROUP
- See Also:
- Constant Field Values
-
ERROR_SENDING_ANNOUNCEMENT
public static final int ERROR_SENDING_ANNOUNCEMENT
- See Also:
- Constant Field Values
-
ERROR_LOOKING_UP_LOCAL_HOST
public static final int ERROR_LOOKING_UP_LOCAL_HOST
- See Also:
- Constant Field Values
-
ERROR_RECEIVING_ANNOUNCEMENT
public static final int ERROR_RECEIVING_ANNOUNCEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorJoiningMulticastGroup
public static DiscoveryException errorJoiningMulticastGroup(java.lang.Exception internalEx)
-
errorSendingAnnouncement
public static DiscoveryException errorSendingAnnouncement(java.lang.Exception internalEx)
-
errorLookingUpLocalHost
public static DiscoveryException errorLookingUpLocalHost(java.lang.Exception internalEx)
-
errorReceivingAnnouncement
public static DiscoveryException errorReceivingAnnouncement(java.lang.Exception internalEx)
-
-