Top Description Fields Constructors Methods
org.eclipse.persistence.exceptions

public Class ConcurrencyException

extends EclipseLinkException
Class Inheritance
Imports
org.eclipse.persistence.exceptions.i18n.ExceptionMessageGenerator

Purpose: Concurrency deadlock or interupts will raise this exception.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
Inherited from org.eclipse.persistence.exceptions.EclipseLinkException:
CRerrorCodehasBeenLoggedindentationStringinternalExceptionsessionshouldPrintInternalException

Constructor Summary

AccessConstructor and Description
protected
ConcurrencyException(String theMessage)

INTERNAL: TopLink exceptions should only be thrown by TopLink.

protected
ConcurrencyException(String theMessage, Exception exception)

INTERNAL: TopLink exceptions should only be thrown by TopLink.

Method Summary

Modifier and TypeMethod and Description
public static ConcurrencyException
public static ConcurrencyException
maxTriesLockOnBuildObjectExceded(Thread cacheKeyThread, Thread currentThread)

public static ConcurrencyException
public static ConcurrencyException
public static ConcurrencyException
public static ConcurrencyException
public static ConcurrencyException
public static ConcurrencyException
public static ConcurrencyException
public static ConcurrencyException
Inherited from org.eclipse.persistence.exceptions.EclipseLinkException:
crgetErrorCodegetIndentationStringgetInternalExceptiongetMessagegetSessiongetUnformattedMessagehasBeenLoggedprintStackTraceprintStackTraceprintStackTracesetErrorCodesetHasBeenLoggedsetIndentationStringsetInternalExceptionsetSessionsetShouldPrintInternalExceptionshouldPrintInternalExceptiontoString

Field Detail

ACTIVE_LOCK_ALREADY_TRANSITIONEDback to summary
public static final int ACTIVE_LOCK_ALREADY_TRANSITIONED
MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECTback to summary
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT
MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONEback to summary
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE
MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGEback to summary
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE
SEQUENCING_MULTITHREAD_THRU_CONNECTIONback to summary
public static final int SEQUENCING_MULTITHREAD_THRU_CONNECTION
SIGNAL_ATTEMPTED_BEFORE_WAITback to summary
public static final int SIGNAL_ATTEMPTED_BEFORE_WAIT
WAIT_FAILURE_CLIENTback to summary
public static final int WAIT_FAILURE_CLIENT
WAIT_FAILURE_SEQ_DATABASE_SESSIONback to summary
public static final int WAIT_FAILURE_SEQ_DATABASE_SESSION
WAIT_FAILURE_SERVERback to summary
public static final int WAIT_FAILURE_SERVER
WAIT_WAS_INTERRUPTEDback to summary
public static final int WAIT_WAS_INTERRUPTED

Constructor Detail

ConcurrencyExceptionback to summary
protected ConcurrencyException(String theMessage)

INTERNAL: TopLink exceptions should only be thrown by TopLink.

ConcurrencyExceptionback to summary
protected ConcurrencyException(String theMessage, Exception exception)

INTERNAL: TopLink exceptions should only be thrown by TopLink.

Method Detail

activeLockAlreadyTransitionedback to summary
public static ConcurrencyException activeLockAlreadyTransitioned(Thread currentThread)
maxTriesLockOnBuildObjectExcededback to summary
public static ConcurrencyException maxTriesLockOnBuildObjectExceded(Thread cacheKeyThread, Thread currentThread)
maxTriesLockOnCloneExcededback to summary
public static ConcurrencyException maxTriesLockOnCloneExceded(Object objectToClone)
maxTriesLockOnMergeExcededback to summary
public static ConcurrencyException maxTriesLockOnMergeExceded(Object objectToClone)
sequencingMultithreadThruConnectionback to summary
public static ConcurrencyException sequencingMultithreadThruConnection(String accessor)
signalAttemptedBeforeWaitback to summary
public static ConcurrencyException signalAttemptedBeforeWait()
waitFailureOnClientSessionback to summary
public static ConcurrencyException waitFailureOnClientSession(InterruptedException exception)
waitFailureOnSequencingForDatabaseSessionback to summary
public static ConcurrencyException waitFailureOnSequencingForDatabaseSession(InterruptedException exception)
waitFailureOnServerSessionback to summary
public static ConcurrencyException waitFailureOnServerSession(InterruptedException exception)
waitWasInterruptedback to summary
public static ConcurrencyException waitWasInterrupted(String message)