NonEmptyException.java |
1 /** 2 * Defines an Exception if the Location specified is 3 * filled by an MapObject, ie not the Default MapObject. 4 * 5 * @see Grid 6 * @see Location 7 * @see MapObject 8 * @author Matt, Sam 9 * @version 1234 10 */ 11 public class NonEmptyException extends RuntimeException 12 { 13 /** 14 * Simple constructor for NonEmptyException 15 * 16 * @param s the String to pass along 17 */ 18 public NonEmptyException(String s) 19 { 20 super(s); 21 } 22 }