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
An exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active.
- See Also:
-
Field Summary
FieldsFields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
TransactionNotActiveException
public TransactionNotActiveException()Constructs an exception with the specified detail message. -
TransactionNotActiveException
Constructor.- Parameters:
message
- the localized error messagefailedObject
- the failed object
-