Class TransactionNotWritableException
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
org.datanucleus.api.jdo.exceptions.TransactionNotWritableException
- All Implemented Interfaces:
Serializable
A TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.TransactionNotWritableException
(String message, Object failedObject) Constructor. -
Method Summary
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
TransactionNotWritableException
public TransactionNotWritableException()Constructor. -
TransactionNotWritableException
Constructor.- Parameters:
message
- the localized error messagefailedObject
- the failed object
-