Android Guides | Samples

Java.Lang.Error Class

Error is the superclass of all classes that represent unrecoverable errors.

See Also: Error

Syntax

[Android.Runtime.Register("java/lang/Error", DoNotGenerateAcw=true)]
public class Error : Throwable

Remarks

Error is the superclass of all classes that represent unrecoverable errors. When errors are thrown, they should not be caught by application code.

See Also

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Error are listed below.

See Also: Throwable

Public Constructors

Constructs a new Error that includes the current stack trace.
Constructs a new Error with the current stack trace and the specified cause.
Constructs a new Error with the current stack trace and the specified detail message.
Constructs a new Error with the current stack trace, the specified detail message and the specified cause.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.