java.lang.NegativeArraySizeException (JDK 1.0)
Signals an attempt to allocate an array with fewer than zero elements.
public classNegativeArraySizeExceptionextends RuntimeException { //Public ConstructorspublicNegativeArraySizeException(); publicNegativeArraySizeException(Strings); }
Hierarchy:
Object->Throwable(Serializable)->Exception->RuntimeException->NegativeArraySizeException
Thrown By:
Array.newInstance()