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
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
-
-
Constructor Summary
Constructors Constructor Description IllegalStateTransitionException(LifeCycleState state, String transition, ObjectProvider op)
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
-
-
-
-
Constructor Detail
-
IllegalStateTransitionException
public IllegalStateTransitionException(LifeCycleState state, String transition, ObjectProvider op)
Constructs an illegal state transition exception.- Parameters:
state
- The object's current life-cycle state.transition
- A string describing the type of transition.op
- ObjectProvider for the object.
-
-