public class ConcurrencyException extends EclipseLinkException
Purpose: Concurrency deadlock or interupts will raise this exception.
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_LOCK_ALREADY_TRANSITIONED |
static int |
MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT |
static int |
MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE |
static int |
MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE |
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 |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Modifier | Constructor and Description |
---|---|
protected |
ConcurrencyException(java.lang.String theMessage)
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
protected |
ConcurrencyException(java.lang.String theMessage,
java.lang.Exception exception)
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
Modifier and Type | Method and Description |
---|---|
static ConcurrencyException |
activeLockAlreadyTransitioned(java.lang.Thread currentThread) |
static ConcurrencyException |
maxTriesLockOnBuildObjectExceded(java.lang.Thread cacheKeyThread,
java.lang.Thread currentThread) |
static ConcurrencyException |
maxTriesLockOnCloneExceded(java.lang.Object objectToClone) |
static ConcurrencyException |
maxTriesLockOnMergeExceded(java.lang.Object objectToClone) |
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) |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int WAIT_WAS_INTERRUPTED
public static final int WAIT_FAILURE_SERVER
public static final int WAIT_FAILURE_CLIENT
public static final int SIGNAL_ATTEMPTED_BEFORE_WAIT
public static final int WAIT_FAILURE_SEQ_DATABASE_SESSION
public static final int SEQUENCING_MULTITHREAD_THRU_CONNECTION
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT
public static final int ACTIVE_LOCK_ALREADY_TRANSITIONED
protected ConcurrencyException(java.lang.String theMessage)
protected ConcurrencyException(java.lang.String theMessage, java.lang.Exception exception)
public static ConcurrencyException activeLockAlreadyTransitioned(java.lang.Thread currentThread)
public static ConcurrencyException maxTriesLockOnCloneExceded(java.lang.Object objectToClone)
public static ConcurrencyException maxTriesLockOnMergeExceded(java.lang.Object objectToClone)
public static ConcurrencyException maxTriesLockOnBuildObjectExceded(java.lang.Thread cacheKeyThread, java.lang.Thread currentThread)
public static ConcurrencyException signalAttemptedBeforeWait()
public static ConcurrencyException waitFailureOnClientSession(java.lang.InterruptedException exception)
public static ConcurrencyException waitFailureOnServerSession(java.lang.InterruptedException exception)
public static ConcurrencyException waitWasInterrupted(java.lang.String message)
public static ConcurrencyException waitFailureOnSequencingForDatabaseSession(java.lang.InterruptedException exception)
public static ConcurrencyException sequencingMultithreadThruConnection(java.lang.String accessor)