Android Guides | Samples

Java.Lang.NegativeArraySizeException Class

Thrown when an attempt is made to create an array with a size of less than zero.

See Also: NegativeArraySizeException

Syntax

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

Remarks

Thrown when an attempt is made to create an array with a size of less than zero.

[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.NegativeArraySizeException are listed below.

See Also: RuntimeException

Public Constructors

Constructs a new NegativeArraySizeException that includes the current stack trace.
Constructs a new NegativeArraySizeException 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.