/*
 * @topic T00735 Banking exception demo
 * @brief OverdrawException class
 */
package banking;
public class OverdrawException extends Exception {
    private String message;
    private double amt;

    public OverdrawException(String message, double amt)
    {
        super( message );
        this.message = message;
        this.amt = amt;
    }
    public String getMessage()
    {
        return message;
    }
    public double getAmt()
    {
        return amt;
    }
}//OverdrawException class