package container; // Suggested in the textbook. // A run-time exception for invalid positions public class InvalidPositionException extends RuntimeException { public InvalidPositionException() { } public InvalidPositionException(String err) { super(err); } }