Android Guides | Samples

Java.Lang.Exception Class

Exception is the superclass of all classes that represent recoverable exceptions.

See Also: Exception

Syntax

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

Remarks

Exception is the superclass of all classes that represent recoverable exceptions. When exceptions are thrown, they may 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.Exception are listed below.

See Also: Throwable

Public Constructors

Constructs a new Exception that includes the current stack trace.
Constructs a new Exception with the current stack trace and the specified cause.
Constructs a new Exception with the current stack trace and the specified detail message.
Constructs a new Exception 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.