Package java.lang |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
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.
public NegativeArraySizeException()Constructs a NegativeArraySizeException with no detail message.
public NegativeArraySizeException(String s)Constructs a NegativeArraySizeException with the specified detail message.
Parameter Description s the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.