oracle.toplink.exceptions
Class ConcurrencyException

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

public class ConcurrencyException
extends TopLinkException

Purpose: Concurrency deadlock or interupts will raise this exception.

See Also:
Serialized Form

Field Summary
TypeField
static int SIGNAL_ATTEMPTED_BEFORE_WAIT
           
static int WAIT_FAILURE_CLIENT
           
static int WAIT_FAILURE_SERVER
           
static int WAIT_WAS_INTERRUPTED
           
 
Method Summary
TypeMethod
static ConcurrencyException signalAttemptedBeforeWait()
           
static ConcurrencyException waitFailureOnClientSession(java.lang.InterruptedException exception)
           
static ConcurrencyException waitFailureOnServerSession(java.lang.InterruptedException exception)
           
static ConcurrencyException waitWasInterrupted(java.lang.String message)
           
 
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

WAIT_WAS_INTERRUPTED

public static final int WAIT_WAS_INTERRUPTED

WAIT_FAILURE_SERVER

public static final int WAIT_FAILURE_SERVER

WAIT_FAILURE_CLIENT

public static final int WAIT_FAILURE_CLIENT

SIGNAL_ATTEMPTED_BEFORE_WAIT

public static final int SIGNAL_ATTEMPTED_BEFORE_WAIT
Method Detail

signalAttemptedBeforeWait

public static ConcurrencyException signalAttemptedBeforeWait()

waitFailureOnClientSession

public static ConcurrencyException waitFailureOnClientSession(java.lang.InterruptedException exception)

waitFailureOnServerSession

public static ConcurrencyException waitFailureOnServerSession(java.lang.InterruptedException exception)

waitWasInterrupted

public static ConcurrencyException waitWasInterrupted(java.lang.String message)