Java In A Nutshell, 5th Edition

NegativeArraySizeException java.lang

Java 1.0 serializable unchecked

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

Figure 10-40. java.lang.NegativeArraySizeException

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

Thrown By

java.lang.reflect.Array.newInstance( )

Категории