NegativeArraySizeException

Stay organized with collections Save and categorize content based on your preferences.
public class NegativeArraySizeException extends RuntimeException

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

Public Constructor Summary

NegativeArraySizeException()
Constructs a NegativeArraySizeException with no detail message.
NegativeArraySizeException(String s)
Constructs a NegativeArraySizeException with the specified detail message.

Inherited Method Summary

Public Constructors

public NegativeArraySizeException ()

Constructs a NegativeArraySizeException with no detail message.

public NegativeArraySizeException (String s)

Constructs a NegativeArraySizeException with the specified detail message.

Parameters
s the detail message.