Package org.datanucleus.exceptions
Class TransactionNotActiveException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.exceptions.TransactionNotActiveException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TransactionNotReadableException
,TransactionNotWritableException
public class TransactionNotActiveException extends NucleusUserException
An exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionNotActiveException()
Constructs an exception with the specified detail message.TransactionNotActiveException(String message, Object failedObject)
Constructor.
-
Method Summary
-
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-