Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class InsuficcientFundsException extends Exception{
- private double amount;
- public InsuficcientFundsException(double amount)
- {
- this.amount = amount;
- }
- public double getAmount()
- {
- return amount;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement