com.triactive.jdo.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 com.triactive.jdo.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 TJDO.

Author:
Mike Martin
See Also:
Serialized Form

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
 

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 ? 2001 TriActive, Inc. All Rights Reserved.