org.jcsp.nxt.util
Class IllegalArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.jcsp.nxt.util.IllegalArgumentException
All Implemented Interfaces:
java.io.Serializable

public class IllegalArgumentException
extends java.lang.IllegalArgumentException

This class restores the error message String to IllegalArgumentException

Author:
Alex Panayotopoulos
See Also:
Serialized Form

Constructor Summary
IllegalArgumentException(java.lang.String errMsg)
          Constructor with String parameter
 
Method Summary
 java.lang.String getMessage()
          Get the error message
 java.lang.String toString()
          Return a String represetntation of this exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalArgumentException

public IllegalArgumentException(java.lang.String errMsg)
Constructor with String parameter

Parameters:
An - error message explaining the problem
Method Detail

getMessage

public java.lang.String getMessage()
Get the error message

Overrides:
getMessage in class java.lang.Throwable

toString

public java.lang.String toString()
Return a String represetntation of this exception

Overrides:
toString in class java.lang.Throwable