Team LiB
Previous Section Next Section

NegativeArraySizeExceptionjava.lang

Java 1.0serializable 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( )

    Team LiB
    Previous Section Next Section