Class UnhandledEventException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnhandledEventException
    extends java.lang.RuntimeException
    Thrown when an Event passed to a state machine couldn't be handled.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnhandledEventException​(Event event)
      Creates a new UnhandledEventException instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Event getEvent()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnhandledEventException

        public UnhandledEventException​(Event event)
        Creates a new UnhandledEventException instance
        Parameters:
        event - The unhandled event
    • Method Detail

      • getEvent

        public Event getEvent()
        Returns:
        the Event which couldn't be handled.