[Chapter 25] 25.38 java.lang.NegativeArraySizeException (JDK 1.0)
Author: David Flanagan
Date: Thu Jul 31 16:27:19 1997

#

| Chapter 25 The java.lang Package |

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

java.lang.Math (JDK 1.0) |  | java.lang.NoClassDefFoundError (JDK 1.0)