Class InvalidWithdrawalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
bank.account.AccountException
bank.account.AccountOperationException
bank.account.InvalidWithdrawalException
- All Implemented Interfaces:
Serializable
Exception for unsuccessful withdrawal operations.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AccountOperationException
getAmountMethods inherited from class AccountException
getNumberMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidWithdrawalException
public InvalidWithdrawalException(int number, double amount) - Parameters:
number- account numberamount-
-