// Name : Matthew Reeves // This is a class for dealing with empty list exceptions package ExceptionPkg; // This is a class for dealing with empty list exceptions public class EmptyListException extends RuntimeException { public EmptyListException() { this ("List"); } public EmptyListException(String name) { super (name + " is empty"); } }