Package org.datanucleus.state
Class IllegalStateTransitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.state.IllegalStateTransitionException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIllegalStateTransitionException
(LifeCycleState state, String transition, DNStateManager 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, setNestedException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
IllegalStateTransitionException
Constructs an illegal state transition exception.- Parameters:
state
- The object's current life-cycle state.transition
- A string describing the type of transition.sm
- StateManager for the object.
-