EmptyLocationException.java |
1 /** 2 * Defines an Exception if there is an empty, default MapObject, 3 * on the Grid square inspected. 4 * 5 * @see Grid 6 * @see MapObject 7 * @author Matt, Sam 8 * @version 1234 9 */ 10 public class EmptyLocationException extends Exception 11 { 12 /** 13 * Simple constructor for EmptyLocationException 14 * 15 * @param s the String to pass along 16 */ 17 public EmptyLocationException(String s) 18 { 19 super(s); 20 } 21 }