Class 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 Detail

      • IllegalStateTransitionException

        public IllegalStateTransitionException​(LifeCycleState state,
                                               String transition,
                                               DNStateManager 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 - StateManager for the object.