| InvalidPowerException.java |
1 /**
2 * Defines an Exception if the power specifed is not
3 * a power defined in Attack.
4 *
5 * @see Attack
6 * @see Monster
7 * @author Matt, Sam
8 * @version 1234
9 */
10 public class InvalidPowerException extends Exception
11 {
12 /**
13 * Simple constructor for InvalidPowerException
14 *
15 * @param s the String to pass along
16 */
17 public InvalidPowerException(String s)
18 {
19 super(s);
20 }
21 }