FileDocCategorySizeDatePackage
RuntimeException.javaAPI DocAndroid 1.5 API2686Wed May 06 22:41:04 BST 2009java.lang

RuntimeException

public class RuntimeException extends Exception
{@code RuntimeException} is the superclass of all classes that represent exceptional conditions which occur as a result of executing an application in the virtual machine. Unlike checked exceptions (exceptions where the type doesn't extend {@code RuntimeException} or {@link Error}), the compiler does not require code to handle runtime exceptions.
since
Android 1.0

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

since
Android 1.0


                        
      
        super();
    
public RuntimeException(String detailMessage)
Constructs a new {@code RuntimeException} 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 RuntimeException(String detailMessage, Throwable throwable)
Constructs a new {@code RuntimeException} with the current stack trace, the specified detail message and the specified cause.

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

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

param
throwable the cause of this exception.
since
Android 1.0

        super(throwable);
    
Methods Summary