oracle.toplink.exceptions
Class CacheSynchCommunicationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.toplink.exceptions.TopLinkException
                          |
                          +--oracle.toplink.exceptions.CacheSynchCommunicationException
All Implemented Interfaces:
java.io.Serializable

public class CacheSynchCommunicationException
extends TopLinkException
implements java.io.Serializable

Instances of this exception are raised if a problem is detected during synchronization of TopLink caches. TopLink exceptions should only ever be thrown by TopLink code.

See Also:
Serialized Form

Field Summary
TypeField
static int FAILED_TO_RECONNECT
           
static int UNABLE_TO_PROPAGATE_CHANGES
           
 
Constructor Summary
CacheSynchCommunicationException()
           
CacheSynchCommunicationException(java.lang.String theMessage)
           
 
Method Summary
TypeMethod
static CacheSynchCommunicationException failedToReconnect(java.lang.String sessionId, java.lang.Exception internalEx)
           
static CacheSynchCommunicationException unableToPropagateChanges(java.lang.String sessionId, java.lang.Exception internalEx)
           
 
Methods inherited from class oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, getMessage, getSession, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FAILED_TO_RECONNECT

public static final int FAILED_TO_RECONNECT

UNABLE_TO_PROPAGATE_CHANGES

public static final int UNABLE_TO_PROPAGATE_CHANGES
Constructor Detail

CacheSynchCommunicationException

public CacheSynchCommunicationException()

CacheSynchCommunicationException

public CacheSynchCommunicationException(java.lang.String theMessage)
Method Detail

failedToReconnect

public static CacheSynchCommunicationException failedToReconnect(java.lang.String sessionId,
                                                                 java.lang.Exception internalEx)

unableToPropagateChanges

public static CacheSynchCommunicationException unableToPropagateChanges(java.lang.String sessionId,
                                                                        java.lang.Exception internalEx)