Class EndTaskException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.machanism.machai.process.tools.ToolException
org.machanism.machai.process.tools.EndTaskException
- All Implemented Interfaces:
Serializable
Signals that the current task has ended without terminating the
application.
Function tools can throw this exception to gracefully conclude an interactive session or user-driven task. The surrounding application can handle it as a control-flow signal and continue running.
- Author:
- Viktor Tovstyi
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version for this control-flow exception. -
Constructor Summary
ConstructorsConstructorDescriptionEndTaskException(String message) Constructs an exception with the specified detail message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version for this control-flow exception.- See Also:
-
-
Constructor Details
-
EndTaskException
Constructs an exception with the specified detail message.- Parameters:
message- the detail message describing why the task ended; may benull
-