public class FiniteStateMachineException extends Exception
Transition and AbstractEvent related to the exception.| Constructor and Description |
|---|
FiniteStateMachineException(Transition transition,
Event event,
Throwable cause)
Create a new
FiniteStateMachineException. |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Get the root cause of the exception.
|
Event |
getEvent()
Get the event triggered when the exception occurred.
|
Transition |
getTransition()
Get the transition where the exception occurred.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FiniteStateMachineException(Transition transition, Event event, Throwable cause)
FiniteStateMachineException.transition - where the exception occurredevent - triggered when the exception occurredcause - root cause of the exceptionpublic Transition getTransition()
public Event getEvent()
Copyright © 2020. All rights reserved.