Class CancelException

All Implemented Interfaces:
Serializable

public class CancelException extends RuntimeException
The class represents an exception that occurs during the execution of the application, when it is canceled some operation, and that can register the point and the reason of the cancelation
See Also:
  • Field Details

    • _point

      protected String _point
    • _reason

      protected String _reason
  • Constructor Details

    • CancelException

      public CancelException(String msg, String point, String reason, Exception e)
      Creates the exception with the specified detail message and cause, and registers the point and the reason of the interruption of the operation
      Parameters:
      msg - The message of the exception
      point - The string that contains the description of the point of the execution in which the operation was interrupted
      reason - The string that contain the reason of the interruption of the operation
      e - The cause of the exception
  • Method Details

    • getPoint

      public String getPoint()
      Returns the point of the execution in which the operation was interrupted when the exception raised
      Returns:
      The string that contains the description of the point of the execution in which the operation was interrupted
    • getReason

      public String getReason()
      Returns the reason of the interruption of the operation, that has caused the raise of the exception
      Returns:
      The string that contain the reason of the interruption of the operation