public class PotentialDeadLockException extends OperationException
How it happens:
Transaction A writes bean X and transaction B writes bean Y, and then
A tries to read or write bean Y and B tries to read or write bean X.
This exception shall be rare, because CmpManager sorted beans to be updated in a special order. However, it still might happen, because a transaction might trigger multiple syncBeans.
SystemException.Aide
MessageConst.BundleInfo
_code
NULL_CODE
Constructor and Description |
---|
PotentialDeadLockException() |
PotentialDeadLockException(int code) |
PotentialDeadLockException(int code,
java.lang.Object fmtArg) |
PotentialDeadLockException(int code,
java.lang.Object[] fmtArgs) |
PotentialDeadLockException(int code,
java.lang.Object[] fmtArgs,
java.lang.Throwable cause) |
PotentialDeadLockException(int code,
java.lang.Object fmtArg,
java.lang.Throwable cause) |
PotentialDeadLockException(int code,
java.lang.Throwable cause) |
PotentialDeadLockException(java.lang.String s) |
PotentialDeadLockException(java.lang.String msg,
java.lang.Throwable cause) |
PotentialDeadLockException(java.lang.Throwable cause) |
getCode
public PotentialDeadLockException(java.lang.String msg, java.lang.Throwable cause)
public PotentialDeadLockException(java.lang.String s)
public PotentialDeadLockException(java.lang.Throwable cause)
public PotentialDeadLockException()
public PotentialDeadLockException(int code, java.lang.Object[] fmtArgs, java.lang.Throwable cause)
public PotentialDeadLockException(int code, java.lang.Object fmtArg, java.lang.Throwable cause)
public PotentialDeadLockException(int code, java.lang.Object[] fmtArgs)
public PotentialDeadLockException(int code, java.lang.Object fmtArg)
public PotentialDeadLockException(int code, java.lang.Throwable cause)
public PotentialDeadLockException(int code)
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.