Name

java.lang.NegativeArraySizeException

Synopsis

This exception is identical to its J2SE counterpart. It signifies an attempt to instantiate an array with a negative number of elements.

public classNegativeArraySizeException extends java.lang.RuntimeException {
   // constructors
   public NegativeArraySizeException();
   public NegativeArraySizeException(String s);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.