Class SpecialException

All Implemented Interfaces:
Serializable

public class SpecialException extends RuntimeException
Exception used to signal the end of a task without terminating the application.

This exception is typically thrown by function tools to gracefully conclude an interactive session or user-driven task, allowing the application to continue running.

Since:
1.2.0
Author:
Viktor Tovstyi
See Also:
  • Constructor Details

    • SpecialException

      public SpecialException(String message)
      Constructs a new EndTaskException with the specified detail message.
      Parameters:
      message - the detail message describing the reason for ending the task
    • SpecialException

      public SpecialException(Exception e)
      Constructs a new SpecialException that wraps another exception.
      Parameters:
      e - the exception that caused this special condition