kodo.util
Class LockTimedOutException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--javax.jdo.JDOException
|
+--javax.jdo.JDOCanRetryException
|
+--javax.jdo.JDODataStoreException
|
+--kodo.util.DataStoreException
|
+--kodo.util.LockTimedOutException
- All Implemented Interfaces:
- Serializable
- public class LockTimedOutException
- extends DataStoreException
- implements Serializable
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
Constructor Summary |
LockTimedOutException()
|
LockTimedOutException(Object failed,
int timeout)
|
LockTimedOutException(String msg)
|
LockTimedOutException(String msg,
Throwable[] nested,
Object failed,
int timeout)
|
LockTimedOutException(Throwable[] nested,
int timeout)
|
LockTimedOutException(Throwable[] nested,
Object failed,
int timeout)
|
LockTimedOutException(Throwable nested,
int timeout)
|
LockTimedOutException(Throwable nested,
Object failed,
int timeout)
|
LockTimedOutException
public LockTimedOutException()
LockTimedOutException
public LockTimedOutException(String msg)
LockTimedOutException
public LockTimedOutException(Object failed,
int timeout)
LockTimedOutException
public LockTimedOutException(Throwable nested,
int timeout)
LockTimedOutException
public LockTimedOutException(Throwable[] nested,
int timeout)
LockTimedOutException
public LockTimedOutException(Throwable nested,
Object failed,
int timeout)
LockTimedOutException
public LockTimedOutException(Throwable[] nested,
Object failed,
int timeout)
LockTimedOutException
public LockTimedOutException(String msg,
Throwable[] nested,
Object failed,
int timeout)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int timeout)
newSerializableInstance
protected 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 DataStoreException
toString
public String toString()
- Bypass the standard
JDOException.toString()
method, since
it has the potential for infinite recursion if the failed object
references persistent fields whose access may cause another exception.
- Overrides:
toString
in class DataStoreException
- Since:
- 3.2
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.