鴻蒙OS NoSuchFieldException

2022-05-31 16:56 更新

NoSuchFieldException

java.lang.Object

|---java.lang.Throwable

|---|---java.lang.Exception

|---|---|---java.lang.ReflectiveOperationException

|---|---|---|---java.lang.NoSuchFieldException

public class NoSuchFieldException
extends ReflectiveOperationException

表示該類(lèi)沒(méi)有指定名稱(chēng)的字段。

構(gòu)造函數(shù)摘要

構(gòu)造函數(shù) 描述
NoSuchFieldException() 構(gòu)造函數(shù)。
NoSuchFieldException(String s) 帶有詳細(xì)消息的構(gòu)造函數(shù)。

方法總結(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ì)信息

NoSuchFieldException

public NoSuchFieldException()

構(gòu)造函數(shù)。

NoSuchFieldException

public NoSuchFieldException(String s)

帶有詳細(xì)消息的構(gòu)造函數(shù)。

參數(shù):

參數(shù)名稱(chēng) 參數(shù)描述
s 詳細(xì)信息
以上內(nèi)容是否對(duì)您有幫助:
在線(xiàn)筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)