// file: EmptyListException.java // author: Robert Keller // purpose: Class of Poly package package Poly; /** * EmptyListException is thrown when there is an attempt to * access components of an empty List. **/ public class EmptyListException extends Exception { public String cause; public EmptyListException(String cause) { this.cause = cause; } }