Class CancelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cz.cuni.kubinja.hospitalsystem.UI.CancelException
All Implemented Interfaces:
Serializable

public class CancelException extends RuntimeException
Custom exception which is thrown when the user does not comply with the process of inputting and forcefully exit.
See Also:
  • Field Details

    • userCancel

      public static final String userCancel
      User did not comply with the process of inputting data and wanted to forcefully exit
      See Also:
  • Constructor Details

    • CancelException

      public CancelException(String message)
      Creates CancelException with the provided message.
      Parameters:
      message - Message of the exception.