Class InvalidPowerException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--InvalidPowerException
All Implemented Interfaces:
java.io.Serializable

public class InvalidPowerException
extends java.lang.Exception

Defines an Exception if the power specifed is not a power defined in Attack.

See Also:
Attack, Monster, Serialized Form

Constructor Summary
InvalidPowerException(java.lang.String s)
          Simple constructor for InvalidPowerException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidPowerException

public InvalidPowerException(java.lang.String s)
Simple constructor for InvalidPowerException

Parameters:
s - the String to pass along