java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.NegativeArraySizeException
public class NegativeArraySizeException
如果应用程序试图创建大小为负的数组,则抛出该异常。
| 构造方法摘要 | |
|---|---|
NegativeArraySizeException() 构造不带详细消息的 NegativeArraySizeException。 |
|
NegativeArraySizeException(String s) 构造带指定详细消息的 NegativeArraySizeException。 |
|
| 方法摘要 |
|---|
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public NegativeArraySizeException()
NegativeArraySizeException。
public NegativeArraySizeException(String s)
NegativeArraySizeException。
s - 详细消息。