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

B15903-01


oracle.toplink.exceptions
Class ConcurrencyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byoracle.toplink.exceptions.TopLinkException
                  extended byoracle.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
static int SEQUENCING_MULTITHREAD_THRU_CONNECTION
static int SIGNAL_ATTEMPTED_BEFORE_WAIT
static int WAIT_FAILURE_CLIENT
static int WAIT_FAILURE_SEQ_DATABASE_SESSION
static int WAIT_FAILURE_SERVER
static int WAIT_WAS_INTERRUPTED

Method Summary
static ConcurrencyException sequencingMultithreadThruConnection(java.lang.String accessor)
static ConcurrencyException signalAttemptedBeforeWait()
static ConcurrencyException waitFailureOnClientSession(java.lang.InterruptedException exception)
static ConcurrencyException waitFailureOnSequencingForDatabaseSession(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, 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

WAIT_WAS_INTERRUPTED

public static final int WAIT_WAS_INTERRUPTED
See Also:
Constant Field Values

WAIT_FAILURE_SERVER

public static final int WAIT_FAILURE_SERVER
See Also:
Constant Field Values

WAIT_FAILURE_CLIENT

public static final int WAIT_FAILURE_CLIENT
See Also:
Constant Field Values

SIGNAL_ATTEMPTED_BEFORE_WAIT

public static final int SIGNAL_ATTEMPTED_BEFORE_WAIT
See Also:
Constant Field Values

WAIT_FAILURE_SEQ_DATABASE_SESSION

public static final int WAIT_FAILURE_SEQ_DATABASE_SESSION
See Also:
Constant Field Values

SEQUENCING_MULTITHREAD_THRU_CONNECTION

public static final int SEQUENCING_MULTITHREAD_THRU_CONNECTION
See Also:
Constant Field Values

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)

waitFailureOnSequencingForDatabaseSession

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

sequencingMultithreadThruConnection

public static ConcurrencyException sequencingMultithreadThruConnection(java.lang.String accessor)

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