org.datanucleus.exceptions
Class TransactionNotWritableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.exceptions.TransactionNotActiveException
                          extended by org.datanucleus.exceptions.TransactionNotWritableException
All Implemented Interfaces:
Serializable

public class TransactionNotWritableException
extends TransactionNotActiveException

An TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.

See Also:
Serialized Form

Constructor Summary
TransactionNotWritableException()
          Constructor.
TransactionNotWritableException(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
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionNotWritableException

public TransactionNotWritableException()
Constructor.


TransactionNotWritableException

public TransactionNotWritableException(String message,
                                       Object failedObject)
Constructor.

Parameters:
message - the localized error message
failedObject - the failed object


Copyright © 2013. All Rights Reserved.