- 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
public class TransactionActiveOnCloseException extends NucleusUserException
An exception thrown when close is invoked on an ExecutionContext yet the transaction is still active.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionActiveOnCloseException(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
-
-
-
-
Constructor Detail
-
TransactionActiveOnCloseException
public TransactionActiveOnCloseException(Object failedObject)
Constructs a transaction is still active exception with the specified detail message.- Parameters:
failedObject
- ExecutionContext object that failed to close
-
-