FileDocCategorySizeDatePackage
IllegalStateException.javaAPI DocAndroid 1.5 API2506Wed May 06 22:41:04 BST 2009java.lang

IllegalStateException

public class IllegalStateException extends RuntimeException
Thrown when an action is attempted at a time when the virtual machine is not in the correct state.
since
Android 1.0

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

since
Android 1.0


                        
      
        super();
    
public IllegalStateException(String detailMessage)
Constructs a new {@code IllegalStateException} 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 IllegalStateException(String message, Throwable cause)
Constructs a new {@code IllegalStateException} 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.
since
Android 1.0

        super(message, cause);
    
public IllegalStateException(Throwable cause)
Constructs a new {@code IllegalStateException} 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