新聞中心
ArrayStoreException

創(chuàng)新互聯(lián)是一家專注于做網(wǎng)站、網(wǎng)站建設(shè)與策劃設(shè)計(jì),武清網(wǎng)站建設(shè)哪家好?創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設(shè)10多年,網(wǎng)設(shè)計(jì)領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:武清等地區(qū)。武清做網(wǎng)站價(jià)格咨詢:028-86922220
java.lang.Object
|---java.lang.Throwable
|---|---java.lang.Exception
|---|---|---java.lang.RuntimeException
|---|---|---|---java.lang.ArrayStoreException
public class ArrayStoreException
extends RuntimeException拋出以指示已嘗試將錯(cuò)誤類型的對(duì)象存儲(chǔ)到對(duì)象數(shù)組中。 例如,以下代碼生成 ArrayStoreException:
Object x[] = new String[3];
x[0] = new Integer(0);構(gòu)造函數(shù)摘要
| 構(gòu)造函數(shù) | 描述 |
|---|---|
| ArrayStoreException() | 構(gòu)造一個(gè)沒有詳細(xì)消息的 ArrayStoreException。 |
| ArrayStoreException(String s) | 構(gòu)造帶有指定詳細(xì)消息的 ArrayStoreException。 |
方法總結(jié)
| 從類 java.lang.Object 繼承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 從類 java.lang.Throwable 繼承的方法 |
|---|
| addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
構(gòu)造函數(shù)詳細(xì)信息
ArrayStoreException
public ArrayStoreException()
構(gòu)造一個(gè)沒有詳細(xì)消息的 ArrayStoreException。
ArrayStoreException
public ArrayStoreException(String s)
構(gòu)造帶有指定詳細(xì)消息的 ArrayStoreException。
參數(shù):
| 參數(shù)名稱 | 參數(shù)描述 |
|---|---|
| s | 詳細(xì)信息。 |
分享名稱:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OS ArrayStoreException
分享URL:http://www.5511xx.com/article/dpcihec.html


咨詢
建站咨詢
