Android Guides | Samples

Java.Lang.ClassFormatError Class

Thrown by a class loader when a class file has an illegal format or if the data that it contains can not be interpreted as a class.

See Also: ClassFormatError

Syntax

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

Remarks

Thrown by a class loader when a class file has an illegal format or if the data that it contains can not be interpreted as a 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

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

See Also: LinkageError

Public Constructors

Constructs a new ClassFormatError that includes the current stack trace.
Constructs a new ClassFormatError with the current stack trace and the specified detail message.

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.