Package bank.app.exceptions
Class InvalidDepositUIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pt.tecnico.uilib.menus.CommandException
bank.app.exceptions.InvalidDepositUIException
- All Implemented Interfaces:
Serializable
User interface exception invalid withdrawal operations.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class pt.tecnico.uilib.menus.CommandException
toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
InvalidDepositUIException
public InvalidDepositUIException(int account, double amount)- Parameters:
amount- Invalid amount.account- Invalid account.
-