APIdia Launch Partner
Top Description Fields Constructors
java.lang

public Class NegativeArraySizeException

extends RuntimeException
Class Inheritance

Thrown if an application tries to create an array with negative size.
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NegativeArraySizeException()

Constructs a NegativeArraySizeException with no detail message.

public
NegativeArraySizeException(String
the detail message.
s
)

Constructs a NegativeArraySizeException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

NegativeArraySizeExceptionback to summary
public NegativeArraySizeException()

Constructs a NegativeArraySizeException with no detail message.

NegativeArraySizeExceptionback to summary
public NegativeArraySizeException(String s)

Constructs a NegativeArraySizeException with the specified detail message.

Parameters
s:String

the detail message.