Package pt.tecnico.uilib.menus
Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pt.tecnico.uilib.menus.CommandException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateClientIdException,InvalidAccountIdException,InvalidClientIdException,InvalidDateException,InvalidDepositUIException,InvalidRemovalUIException,InvalidSavingsAccountIdException,InvalidWithdrawalUIException,NegativeDepositUIException,NegativeWithdrawalUIException,NoBalanceWithdrawalUIException
This class represents events in unsuccessful command executions.
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionCommandException(String message)CommandException(String message, Throwable throwable) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CommandException
- Parameters:
message-
-
CommandException
- Parameters:
message-throwable-
-
-
Method Details
-
toString
- Overrides:
toStringin classThrowable- See Also:
Throwable.toString()
-