NoSuchFieldException
java.lang.Object
|—java.lang.Throwable
|—|—java.lang.Exception
|—|—|—java.lang.ReflectiveOperationException
|—|—|—|—java.lang.NoSuchFieldException
public class NoSuchFieldException
extends ReflectiveOperationException表示该类没有指定名称的字段。
构造函数摘要
| 构造函数 | 描述 |
|---|---|
| NoSuchFieldException() | 构造函数。 |
| NoSuchFieldException(String s) | 带有详细消息的构造函数。 |
方法总结
| 从类 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 |
构造函数详细信息
NoSuchFieldException
public NoSuchFieldException()
构造函数。
NoSuchFieldException
public NoSuchFieldException(String s)
带有详细消息的构造函数。
参数:
| 参数名称 | 参数描述 |
|---|---|
| s | 详细信息 |
文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/165155.html<

