Class TransactionNotActiveException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.jdo.JDOException
-
- javax.jdo.JDOCanRetryException
-
- javax.jdo.JDOUserException
-
- org.datanucleus.api.jdo.exceptions.TransactionNotActiveException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TransactionNotReadableException
,TransactionNotWritableException
public class TransactionNotActiveException extends javax.jdo.JDOUserException
A TransactionNotActiveException is thrown if a transaction is not active and an operation is performed that requires that a transaction be active (such as committing a transaction).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description TransactionNotActiveException()
Constructor.TransactionNotActiveException(java.lang.String message, java.lang.Object failedObject)
Constructor.
-
Method Summary
-
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TransactionNotActiveException
public TransactionNotActiveException()
Constructor.
-
TransactionNotActiveException
public TransactionNotActiveException(java.lang.String message, java.lang.Object failedObject)
Constructor.- Parameters:
message
- the localized error messagefailedObject
- the failed object
-
-