Class IllegalTransitionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalTransitionException
    extends BioException
    This exception indicates that there is no transition between two states.
    Author:
    Matthew Pocock
    See Also:
    Serialized Form
    • Constructor Detail

      • IllegalTransitionException

        public IllegalTransitionException​(State from,
                                          State to,
                                          java.lang.String message)
      • IllegalTransitionException

        public IllegalTransitionException​(State from,
                                          State to)
      • IllegalTransitionException

        public IllegalTransitionException()
    • Method Detail

      • getFrom

        public State getFrom()
      • getTo

        public State getTo()