CLDC 1.1.1

java.lang
Class NegativeArraySizeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.NegativeArraySizeException

public class NegativeArraySizeException
extends RuntimeException

Thrown if an application tries to create an array with negative size.

Since:
JDK1.0, CLDC 1.0

Constructor Summary
NegativeArraySizeException()
          Constructs a NegativeArraySizeException with no detail message.
NegativeArraySizeException(String s)
          Constructs a NegativeArraySizeException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

CLDC 1.1.1

Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.