Package org.datanucleus.exceptions
Class TransactionActiveOnCloseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
org.datanucleus.exceptions.TransactionActiveOnCloseException
- All Implemented Interfaces:
Serializable
An exception thrown when close is invoked on an ExecutionContext yet the transaction is still active.
- See Also:
-
Field Summary
FieldsFields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionActiveOnCloseException
(Object failedObject) Constructs a transaction is still active exception with the specified detail message. -
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
-
TransactionActiveOnCloseException
Constructs a transaction is still active exception with the specified detail message.- Parameters:
failedObject
- ExecutionContext object that failed to close
-