FileDocCategorySizeDatePackage
IllegalArgumentException.javaAPI DocAndroid 1.5 API2547Wed May 06 22:41:04 BST 2009java.lang

IllegalArgumentException

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

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public IllegalArgumentException()
Constructs a new {@code IllegalArgumentException} that includes the current stack trace.

since
Android 1.0


                        
      
        super();
    
public IllegalArgumentException(String detailMessage)
Constructs a new {@code IllegalArgumentException} with the current stack trace and the specified detail message.

param
detailMessage the detail message for this exception.
since
Android 1.0

        super(detailMessage);
    
public IllegalArgumentException(String message, Throwable cause)
Constructs a new {@code IllegalArgumentException} with the current stack trace, the specified detail message and the specified cause.

param
message the detail message for this exception.
param
cause the cause of this exception, may be {@code null}.
since
Android 1.0

        super(message, cause);
    
public IllegalArgumentException(Throwable cause)
Constructs a new {@code IllegalArgumentException} with the current stack trace and the specified cause.

param
cause the cause of this exception, may be {@code null}.
since
Android 1.0

        super((cause == null ? null : cause.toString()), cause);
    
Methods Summary