java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.NegativeArraySizeException
Thrown if an application tries 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 |
getMessage,
printStackTrace,
toString |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public NegativeArraySizeException()
NegativeArraySizeException with no
detail message.public NegativeArraySizeException(String s)
NegativeArraySizeException with the
specified detail message.s - the detail message.