新聞中心
BootstrapMethodError

java.lang.Object
|---java.lang.Throwable
|---|---java.lang.Error
|---|---|---java.lang.LinkageError
|---|---|---|---java.lang.BootstrapMethodError
public class BootstrapMethodError
extends LinkageError拋出以指示調(diào)用動(dòng)態(tài)指令未能找到其引導(dǎo)方法,或引導(dǎo)方法未能為調(diào)用站點(diǎn)提供正確方法類(lèi)型的目標(biāo)。
構(gòu)造函數(shù)摘要
| 構(gòu)造函數(shù) | 描述 |
|---|---|
| BootstrapMethodError() | 構(gòu)造一個(gè)沒(méi)有詳細(xì)消息的 BootstrapMethodError。 |
| BootstrapMethodError(String s) | 使用指定的詳細(xì)消息構(gòu)造一個(gè) BootstrapMethodError。 |
| BootstrapMethodError(String s, Throwable cause) | 使用指定的詳細(xì)消息和原因構(gòu)造一個(gè) BootstrapMethodError。 |
| BootstrapMethodError(Throwable cause) | 構(gòu)造具有指定原因的 BootstrapMethodError。 |
方法總結(jié)
| 從類(lèi) java.lang.Object 繼承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 從類(lèi) java.lang.Throwable 繼承的方法 |
|---|
| addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
構(gòu)造函數(shù)詳細(xì)信息
BootstrapMethodError
public BootstrapMethodError()
構(gòu)造一個(gè)沒(méi)有詳細(xì)消息的 BootstrapMethodError。
BootstrapMethodError
public BootstrapMethodError(String s)
使用指定的詳細(xì)消息構(gòu)造一個(gè) BootstrapMethodError。
參數(shù):
| 參數(shù)名稱(chēng) | 參數(shù)描述 |
|---|---|
| s | 詳細(xì)信息。 |
BootstrapMethodError
public BootstrapMethodError(String s, Throwable cause)
使用指定的詳細(xì)消息和原因構(gòu)造一個(gè) BootstrapMethodError。
參數(shù):
| 參數(shù)名稱(chēng) | 參數(shù)描述 |
|---|---|
| s | 詳細(xì)信息。 |
| cause | 原因,可能為空。 |
BootstrapMethodError
public BootstrapMethodError(Throwable cause)
構(gòu)造具有指定原因的 BootstrapMethodError。
參數(shù):
| 參數(shù)名稱(chēng) | 參數(shù)描述 |
|---|---|
| cause | 原因,可能為空。 |
文章標(biāo)題:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSBootstrapMethodError
路徑分享:http://m.fisionsoft.com.cn/article/djigoic.html


咨詢(xún)
建站咨詢(xún)
