org.jpox.state
Class IllegalStateTransitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOFatalException
                      extended by javax.jdo.JDOFatalInternalException
                          extended by org.jpox.state.IllegalStateTransitionException
All Implemented Interfaces:
java.io.Serializable

public class IllegalStateTransitionException
extends javax.jdo.JDOFatalInternalException

A IllegalStateTransitionException is thrown if a life-cycle state attempts a transition that is illegal. This indicates a coding bug in the JDO implementation.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
          Localiser for messages.
 
Constructor Summary
IllegalStateTransitionException(LifeCycleState state, java.lang.String transition, StateManagerImpl sm)
          Constructs an illegal state transition exception.
 
Method Summary
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Localiser for messages.

Constructor Detail

IllegalStateTransitionException

public IllegalStateTransitionException(LifeCycleState state,
                                       java.lang.String transition,
                                       StateManagerImpl sm)
Constructs an illegal state transition exception.

Parameters:
state - The object's current life-cycle state.
transition - A string describing the type of transition.
sm - The StateManagerImpl of the object.


Copyright © -2011 . All Rights Reserved.