java.lang
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
Direct Known Subclasses:
NumberFormatException

public class IllegalArgumentException
extends RuntimeException


Constructor Summary
IllegalArgumentException()
          Constructs an IllegalArgumentException with no detail message.
IllegalArgumentException(String s)
          Constructs an IllegalArgumentException with the specified detail message.
IllegalArgumentException(String message, Throwable cause)
          Constructs an IllegalArgumentException with the specified detail message and cause.
IllegalArgumentException(Throwable cause)
          Constructs an IllegalArgumentException with the specified cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, 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 detail message.


IllegalArgumentException

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

Parameters:
s - the detail message.

IllegalArgumentException

public IllegalArgumentException(String message,
                                Throwable cause)
Constructs an IllegalArgumentException with the specified detail message and cause.

Parameters:
message - The detail message
cause - The cause

IllegalArgumentException

public IllegalArgumentException(Throwable cause)
Constructs an IllegalArgumentException with the specified cause.

Parameters:
cause - The cause