Package java.lang Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class NegativeArraySizeException

Constructors

public  class  java.lang.NegativeArraySizeException
    extends  java.lang.RuntimeException  
{
        // Constructors
    public NegativeArraySizeException();	
    public NegativeArraySizeException(String  s);	
}

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.

ParameterDescription
s the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.