com.triactive.jdo.state
Class IllegalStateTransitionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended byjavax.jdo.JDOFatalInternalException
                          extended bycom.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(com.triactive.jdo.state.LifeCycleState state, java.lang.String transition, StateManagerImpl sm)
          Constructs an illegal state transition exception.
 
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(com.triactive.jdo.state.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-2007 The TJDO Project All Rights Reserved.