加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090303144408/http://developer.android.com:80/reference/java/lang/NegativeArraySizeException.html
public class

NegativeArraySizeException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.NegativeArraySizeException

Class Overview

This runtime exception is thrown when an attempt is made to create an array whose size would be less than zero.

Summary

Public Constructors
NegativeArraySizeException()
Constructs a new instance of this class with its walkback filled in.
NegativeArraySizeException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NegativeArraySizeException ()

Constructs a new instance of this class with its walkback filled in.

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.