加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218080836/http://developer.android.com:80/reference/java/lang/RuntimeException.html
public class

RuntimeException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

This class is the superclass of all classes which represent exceptional conditions which occur as a result of the running of the virtual machine.

Summary

Public Constructors
RuntimeException()
Constructs a new instance of this class with its walkback filled in.
RuntimeException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
RuntimeException(String detailMessage, Throwable throwable)
Constructs a new instance of this class with its walkback, message and cause filled in.
RuntimeException(Throwable throwable)
Constructs a new instance of this class with its walkback and cause filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RuntimeException ()

Constructs a new instance of this class with its walkback filled in.

public RuntimeException (String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters
detailMessage String The detail message for the exception.

public RuntimeException (String detailMessage, Throwable throwable)

Constructs a new instance of this class with its walkback, message and cause filled in.

Parameters
detailMessage String The detail message for the exception.
throwable The cause of this Throwable

public RuntimeException (Throwable throwable)

Constructs a new instance of this class with its walkback and cause filled in.

Parameters
throwable The cause of this Throwable