org.datanucleus.state
Class IllegalStateTransitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.state.IllegalStateTransitionException
All Implemented Interfaces:
java.io.Serializable

public class IllegalStateTransitionException
extends NucleusException

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

See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
          Localiser for messages.
 
Constructor Summary
IllegalStateTransitionException(LifeCycleState state, java.lang.String transition, StateManager sm)
          Constructs an illegal state transition exception.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
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,
                                       StateManager 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 © 2010. All Rights Reserved.