ClassNotFoundException.Exception Property

Definition

Returns the exception that was raised if an error occurred while attempting to load the class.

public virtual Java.Lang.Throwable? Exception { [Android.Runtime.Register("getException", "()Ljava/lang/Throwable;", "GetGetExceptionHandler")] get; }
[<get: Android.Runtime.Register("getException", "()Ljava/lang/Throwable;", "GetGetExceptionHandler")>]
member this.Exception : Java.Lang.Throwable

Property Value

Throwable

the <code>Exception</code> that was raised while loading a class

Attributes

Remarks

Java documentation for java.lang.ClassNotFoundException.getException().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to