java.lang
Class NegativeArraySizeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.NegativeArraySizeException

public class NegativeArraySizeException
extends RuntimeException

Signals that an attempt has been made to create an array with negative size.


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
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NegativeArraySizeException

public NegativeArraySizeException()
Constructs a NegativeArraySizeException with no detail message. A detail message is a String that describes this particular exception.


NegativeArraySizeException

public NegativeArraySizeException(String s)
Constructs a NegativeArraySizeException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message