java.lang
public class NegativeArraySizeException extends RuntimeException
int i = -1; int[] array = new int[i];
UNKNOWN: updated to 1.4
Constructor Summary | |
---|---|
NegativeArraySizeException()
Create an exception without a message. | |
NegativeArraySizeException(String s)
Create an exception with a message.
|
Parameters: s the message