EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.exceptions
Class DiscoveryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.exceptions.RemoteCommandManagerException
                      extended by 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
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_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
DiscoveryException()
           
DiscoveryException(java.lang.String theMessage)
           
 
Method Summary
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, 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, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

DiscoveryException

public DiscoveryException()

DiscoveryException

public DiscoveryException(java.lang.String theMessage)
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)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference