SunSPOT API V3.0


java.lang
Class NegativeArraySizeException

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

public class NegativeArraySizeException
extends RuntimeException

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

Since:
JDK1.0
Version:
1.15, 12/04/99 (CLDC 1.0, Spring 2000)
Author:
unascribed

Constructor Summary
NegativeArraySizeException()
          Constructs a NegativeArraySizeException with no detail message.
NegativeArraySizeException(String s)
          Constructs a NegativeArraySizeException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getMessage, 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.

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.