Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.exceptions
Class CacheSynchCommunicationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byoracle.toplink.exceptions.TopLinkException
                  extended byoracle.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
static int FAILED_TO_RECONNECT
static int UNABLE_TO_PROPAGATE_CHANGES

Constructor Summary
CacheSynchCommunicationException()
CacheSynchCommunicationException(java.lang.String theMessage)

Method Summary
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, setShouldPrintInternalException

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace

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
See Also:
Constant Field Values

UNABLE_TO_PROPAGATE_CHANGES

public static final int UNABLE_TO_PROPAGATE_CHANGES
See Also:
Constant Field Values

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)

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.