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

Error

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

Class Overview

This class is the superclass of all classes which represent unrecoverable errors. When Errors are thrown, they should not be caught by application code.

Summary

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

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

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

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

Parameters
throwable The cause of this Throwable