public class

IllegalArgumentException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
Known Direct Subclasses

Class Overview

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

See Also

Summary

Public Constructors
IllegalArgumentException()
Constructs an IllegalArgumentException with no detail message.
IllegalArgumentException(String s)
Constructs an IllegalArgumentException with the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IllegalArgumentException ()

Constructs an IllegalArgumentException with no detail message.

public IllegalArgumentException (String s)

Constructs an IllegalArgumentException with the specified detail message.

Parameters
s the detail message.