Class EndTaskException

All Implemented Interfaces:
Serializable

public class EndTaskException extends ToolException
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 Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version for this control-flow exception.
      See Also:
  • Constructor Details

    • EndTaskException

      public EndTaskException(String message)
      Constructs an exception with the specified detail message.
      Parameters:
      message - the detail message describing why the task ended; may be null