Android Guides | Samples

Java.Lang.ClassNotFoundException Constructor

Constructs a new ClassNotFoundException with the current stack trace, the specified detail message and the exception that occurred when loading the class.

Syntax

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

Parameters

detailMessage
exception

Remarks

Constructs a new ClassNotFoundException with the current stack trace, the specified detail message and the exception that occurred when loading the class.

[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