java.lang.NegativeArraySizeException (JDK 1.0)

Signals an attempt to allocate an array with fewer than zero elements.

public class NegativeArraySizeException extends RuntimeException {
 // Public Constructors public NegativeArraySizeException();
public NegativeArraySizeException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException->NegativeArraySizeException

Thrown By:

Array.newInstance()