Build 1.1_r1 (from source)

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalCharsetNameException, IllegalFormatException, IllegalSelectorException, IllegalThreadStateException, InvalidParameterException, NumberFormatException, PatternSyntaxException, UnresolvedAddressException, UnsupportedAddressTypeException, UnsupportedCharsetException

public class IllegalArgumentException
extends RuntimeException

Thrown when a method is invoked with an argument which it can not reasonably deal with.

Since:
Android 1.0
See Also:
Serialized Form

Constructor Summary
IllegalArgumentException()
          Constructs a new IllegalArgumentException that includes the current stack trace.
IllegalArgumentException(String detailMessage)
          Constructs a new IllegalArgumentException with the current stack trace and the specified detail message.
IllegalArgumentException(String message, Throwable cause)
          Constructs a new IllegalArgumentException with the current stack trace, the specified detail message and the specified cause.
IllegalArgumentException(Throwable cause)
          Constructs a new IllegalArgumentException with the current stack trace and the specified cause.
 
Method Summary
 
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 a new IllegalArgumentException that includes the current stack trace.

Since:
Android 1.0

IllegalArgumentException

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.
Since:
Android 1.0

IllegalArgumentException

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.
Since:
Android 1.0

IllegalArgumentException

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.
Since:
Android 1.0

Build 1.1_r1 (from source)

Please submit a feedback, bug or feature