Packages  This Package  Prev  Next  Index  

§1.38 Class NegativeArraySizeException

public  class  java.lang.NegativeArraySizeException
    extends  java.lang.RuntimeException  (I-§1.42)
{
        // Constructors
    public NegativeArraySizeException();	§1.38.1
    public NegativeArraySizeException(String  s);	§1.38.2
}
Thrown if an application tries to create an array with negative size.


Constructors

NegativeArraySizeException

public NegativeArraySizeException()
Constructs a NegativeArraySizeException with no detail message.

NegativeArraySizeException

public NegativeArraySizeException(String s)
Constructs a NegativeArraySizeException with the specified detail message.
Parameters:
s - the detail message

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com