org.apache.commons.transaction.memory
Class LockException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.commons.transaction.memory.LockException
All Implemented Interfaces:
java.io.Serializable

Deprecated. no longer used as it has been replaced by the more general version in LockException

public class LockException
extends java.lang.RuntimeException

Exception displaying a lock problem in pessimistic transactions.

Version:
$Revision$
See Also:
OptimisticMapWrapper, LockException, Serialized Form

Field Summary
protected  int code
          Deprecated.  
static int CODE_DEADLOCK_VICTIM
          Deprecated.  
static int CODE_INTERRUPTED
          Deprecated.  
static int CODE_TIMED_OUT
          Deprecated.  
protected  java.lang.Object key
          Deprecated.  
protected  java.lang.String reason
          Deprecated.  
 
Constructor Summary
LockException(java.lang.String reason, int code, java.lang.Object key)
          Deprecated.  
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CODE_INTERRUPTED

public static final int CODE_INTERRUPTED
Deprecated. 
See Also:
Constant Field Values

CODE_TIMED_OUT

public static final int CODE_TIMED_OUT
Deprecated. 
See Also:
Constant Field Values

CODE_DEADLOCK_VICTIM

public static final int CODE_DEADLOCK_VICTIM
Deprecated. 
See Also:
Constant Field Values

key

protected java.lang.Object key
Deprecated. 

reason

protected java.lang.String reason
Deprecated. 

code

protected int code
Deprecated. 
Constructor Detail

LockException

public LockException(java.lang.String reason,
                     int code,
                     java.lang.Object key)
Deprecated. 


Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.