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

Exception

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

Class Overview

This class is the superclass of all classes which represent recoverable exceptions. When Exceptions are thrown, they may be caught by application code.

Summary

Public Constructors
Exception()
Constructs a new instance of this class with its walkback filled in.
Exception(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
Exception(String detailMessage, Throwable throwable)
Constructs a new instance of this class with its walkback, message and cause filled in.
Exception(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 Exception ()

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

public Exception (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 Exception (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 Exception (Throwable throwable)

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

Parameters
throwable The cause of this Throwable