// Page 231 public class NegativeNumberException extends Exception { public NegativeNumberException() { super("Negative Number Exception!"); } public NegativeNumberException(String msg) { super(msg); } }