org.jaffa.persistence.exceptions
Class IllegalPersistentStateRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.jaffa.exceptions.CustomRuntimeException
                  extended byorg.jaffa.persistence.exceptions.IllegalPersistentStateRuntimeException
All Implemented Interfaces:
Serializable

public class IllegalPersistentStateRuntimeException
extends CustomRuntimeException

This RuntimeException will be thrown if an updateXxx() method or an Add/Update/Delete is invoked on a Domain object in queued state. The domain object will be in queued state if it has been submitted to the UOW for an Add/Update/Delete and commit hasnt yet been performed.

See Also:
Serialized Form

Constructor Summary
IllegalPersistentStateRuntimeException()
          Constructs a new exception.
IllegalPersistentStateRuntimeException(String msg)
          Constructs a new exception specifying an error message.
IllegalPersistentStateRuntimeException(String msg, Throwable sourceException)
          Constructs a new exception specifying an error message and a source exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalPersistentStateRuntimeException

public IllegalPersistentStateRuntimeException()
Constructs a new exception.


IllegalPersistentStateRuntimeException

public IllegalPersistentStateRuntimeException(String msg)
Constructs a new exception specifying an error message.

Parameters:
msg - This message is for internal diagnostics.

IllegalPersistentStateRuntimeException

public IllegalPersistentStateRuntimeException(String msg,
                                              Throwable sourceException)
Constructs a new exception specifying an error message and a source exception.

Parameters:
msg - This message is for internal diagnostics.
sourceException - The source exception being wrapped.


Copyright © 2002-2004 JAFFA Project.