Package org.machanism.machai.gw.tools
Class MoveToEpisodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.machanism.machai.gw.tools.MoveToEpisodeException
- All Implemented Interfaces:
Serializable
Exception used to request a jump to another act episode during execution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMoveToEpisodeException(Integer episodeId, String name) Creates a move request for an episode id or name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the requested target episode id.getName()Returns the requested target episode name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MoveToEpisodeException
Creates a move request for an episode id or name.- Parameters:
episodeId- target 1-based episode id, ornullname- target episode name, ornull
-
-
Method Details
-
getEpisodeId
Returns the requested target episode id.- Returns:
- 1-based episode id, or
null
-
getName
Returns the requested target episode name.- Returns:
- target episode name, or
null
-