org.jpox.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 byorg.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.
 
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 © -2007 . All Rights Reserved.