org.eclipse.persistence.exceptions
Class ConcurrencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.ConcurrencyException
- All Implemented Interfaces:
- java.io.Serializable
public class ConcurrencyException
- extends EclipseLinkException
Purpose: Concurrency deadlock or interupts will raise this exception.
- See Also:
- Serialized Form
Constructor Summary |
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. |
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE
- See Also:
- Constant Field Values
MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE
- See Also:
- Constant Field Values
MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT
- See Also:
- Constant Field Values
ConcurrencyException
protected ConcurrencyException(java.lang.String theMessage)
- INTERNAL:
TopLink exceptions should only be thrown by TopLink.
ConcurrencyException
protected ConcurrencyException(java.lang.String theMessage,
java.lang.Exception exception)
- INTERNAL:
TopLink exceptions should only be thrown by TopLink.
maxTriesLockOnCloneExceded
public static ConcurrencyException maxTriesLockOnCloneExceded(java.lang.Object objectToClone)
maxTriesLockOnMergeExceded
public static ConcurrencyException maxTriesLockOnMergeExceded(java.lang.Object objectToClone)
maxTriesLockOnBuildObjectExceded
public static ConcurrencyException maxTriesLockOnBuildObjectExceded(java.lang.Thread cacheKeyThread,
java.lang.Thread currentThread)
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)