Class CancelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cz.cuni.kubinja.hospitalsystem.UI.CancelException
- All Implemented Interfaces:
Serializable
Custom exception which is thrown when the user does not comply with the process of inputting and forcefully exit.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUser did not comply with the process of inputting data and wanted to forcefully exit -
Constructor Summary
ConstructorsConstructorDescriptionCancelException(String message) Creates CancelException with the provided message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
userCancel
User did not comply with the process of inputting data and wanted to forcefully exit- See Also:
-
-
Constructor Details
-
CancelException
Creates CancelException with the provided message.- Parameters:
message- Message of the exception.
-