Android Guides | Samples

Java.Lang.ExceptionInInitializerError Constructor

Constructs a new ExceptionInInitializerError with the current stack trace and the specified cause.

Syntax

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public ExceptionInInitializerError (Throwable exception)

Parameters

exception

Remarks

Constructs a new ExceptionInInitializerError with the current stack trace and the specified cause. The exception should be the one which originally occurred in the class initialization code.

[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