Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.38 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()


Previous Home Next
java.lang.Math (JDK 1.0) Book Index java.lang.NoClassDefFoundError (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java