Advertisement
Azazavr

1 of 4 (InsuficcientFundsException)

Mar 13th, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. public class InsuficcientFundsException extends Exception{
  2.     private double amount;
  3.     public InsuficcientFundsException(double amount)
  4.     {
  5.         this.amount = amount;
  6.     }
  7.     public double getAmount()
  8.     {
  9.         return amount;
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement