java.lang
Class NegativeArraySizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.NegativeArraySizeException
public class NegativeArraySizeException
- extends RuntimeException
This runtime exception is thrown when an attempt is made to create an array
whose size would be less than zero.
NegativeArraySizeException
public NegativeArraySizeException()
- Constructs a new instance of this class with its walkback filled in.
NegativeArraySizeException
public NegativeArraySizeException(String detailMessage)
- Constructs a new instance of this class with its walkback and message
filled in.
- Parameters:
detailMessage - String The detail message for the exception.