wt.pom
Class ObjectLockedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.pom.PersistenceException
                  extended bywt.pom.DatastoreException
                      extended bywt.pom.ObjectLockedException
All Implemented Interfaces:
LocalizableMessage, Message, Serializable

public class ObjectLockedException
extends DatastoreException

ObjectLockedException captures errors with a datastore interaction. It occurs when an update or delete of an objected is attempted, but cannot be completed because it has been locked.

Supported API: true
Extendable: false

See Also:
Serialized Form

Field Summary
private static String RESOURCE
           
 
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ObjectLockedException(SQLException ex, Persistable object)
           
ObjectLockedException(SQLException ex, String className)
           
 
Methods inherited from class wt.pom.DatastoreException
toString
 
Methods inherited from class wt.pom.PersistenceException
getObjectDisplay
 
Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

ObjectLockedException

public ObjectLockedException(SQLException ex,
                             Persistable object)

ObjectLockedException

public ObjectLockedException(SQLException ex,
                             String className)