hamsam.exception
Class IllegalArgumentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--hamsam.exception.HamsamException
                    |
                    +--hamsam.exception.IllegalArgumentException
All Implemented Interfaces:
java.io.Serializable

public class IllegalArgumentException
extends HamsamException

Thrown to indicate that a method has been passed an illegal or inappropriate argument.

See Also:
Serialized Form

Constructor Summary
IllegalArgumentException()
          Constructs an IllegalArgumentException with no detailed message.
IllegalArgumentException(java.lang.String message)
          Constructs an IllegalArgumentException with the specified detail message.
 
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

IllegalArgumentException

public IllegalArgumentException()
Constructs an IllegalArgumentException with no detailed message.


IllegalArgumentException

public IllegalArgumentException(java.lang.String message)
Constructs an IllegalArgumentException with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.