public class SpriteException extends Exception { public SpriteException() { super("Tile sprites must have equal lengths and heights."); } }