Known Direct Subclasses
IllegalCharsetNameException |
An IllegalCharsetNameException is thrown when an illegal charset name
is encountered.
|
IllegalFormatException |
An IllegalFormatException is thrown when a format string that
contains either an illegal syntax or format specifier is transferred as a
parameter.
|
IllegalSelectorException |
An IllegalSelectorException is thrown when a call is made to register
a channel on a selector that has been created by a different provider.
|
IllegalThreadStateException |
Thrown when an operation is attempted which is not possible given the state
that the executing thread is in.
|
InvalidParameterException |
InvalidParameterException indicates exceptional conditions, caused by
invalid parameters.
|
NumberFormatException |
Thrown when an invalid value is passed to a string-to-number conversion
method.
|
PatternSyntaxException |
Encapsulates a syntax error that occurred during the compilation of a
Pattern .
|
UnresolvedAddressException |
An UnresolvedAddressException is thrown when trying to use an
unresolved network address in a network operation.
|
UnsupportedAddressTypeException |
An UnsupportedAddressTypeException is thrown when connecting or
binding to an unsupported address type.
|
UnsupportedCharsetException |
An UnsupportedCharsetException is thrown when an unsupported charset
name is encountered.
|
|
Known Indirect Subclasses
DuplicateFormatFlagsException,
FormatFlagsConversionMismatchException,
IllegalFormatCodePointException,
IllegalFormatConversionException,
IllegalFormatFlagsException,
IllegalFormatPrecisionException,
IllegalFormatWidthException,
MissingFormatArgumentException,
MissingFormatWidthException,
UnknownFormatConversionException,
UnknownFormatFlagsException
|
Class Overview
Thrown when a method is invoked with an argument which it can not reasonably
deal with.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Throwable
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
Public Constructors
public
IllegalArgumentException
()
Constructs a new IllegalArgumentException
that includes the
current stack trace.
public
IllegalArgumentException
(String detailMessage)
Constructs a new IllegalArgumentException
with the current stack
trace and the specified detail message.
Parameters
detailMessage
| the detail message for this exception.
|
public
IllegalArgumentException
(String message, Throwable cause)
Constructs a new IllegalArgumentException
with the current stack
trace, the specified detail message and the specified cause.
Parameters
message
| the detail message for this exception. |
cause
| the cause of this exception, may be null . |
public
IllegalArgumentException
(Throwable cause)
Constructs a new IllegalArgumentException
with the current stack
trace and the specified cause.
Parameters
cause
| the cause of this exception, may be null . |