kodo.jdo
Class LockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDODataStoreException
kodo.jdo.DataStoreException
kodo.jdo.LockException
- All Implemented Interfaces:
- Serializable, ExceptionInfo
public class LockException
- extends kodo.jdo.DataStoreException
Exception indicating that locks on one or more objects could
not be acquired. The JDOException.getFailedObject()
method will
be used to return the Collection
of objects that
could not be locked.
- Since:
- 3.1
- See Also:
- Serialized Form
Methods inherited from class kodo.jdo.DataStoreException |
getNestedThrowables, getType, isFatal, printStackTrace, printStackTrace, printStackTrace, toString, writeReplace |
LockException
public LockException(String msg,
Throwable[] nested,
Object failed,
int timeout)
getTimeout
public int getTimeout()
getSubtype
public int getSubtype()
- Specified by:
getSubtype
in interface ExceptionInfo
- Overrides:
getSubtype
in class kodo.jdo.DataStoreException
newSerializableInstance
protected kodo.jdo.DataStoreException newSerializableInstance(String msg,
Throwable[] nested,
Object failed)
- Return a new instance of this class with the given state, and add
any additional serializable state from this instance.
- Overrides:
newSerializableInstance
in class kodo.jdo.DataStoreException
Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.