软件包 | 描述 |
---|---|
java.lang |
提供对java编程语言的设计基础课。
|
java.lang.reflect |
提供用于获取类和对象的反射信息的类和接口。
|
Modifier and Type | Class and Description |
---|---|
class |
ClassNotFoundException
当应用程序试图加载一个类的字符串名称使用:在课堂上
类 的
forName 方法。
|
class |
IllegalAccessException
一个非法存取异常被抛出时,应用程序尝试性创建一个实例(除数组),设置或获取一个字段,或调用一个方法,但目前执行的方法不能访问指定的类,字段的定义、方法或构造函数。
|
class |
InstantiationException
当应用程序试图创建使用
newInstance 方法
类 类一类的一个实例,但指定的类不能被实例化对象。
|
class |
NoSuchFieldException
信号,该类没有指定名称的字段。
|
class |
NoSuchMethodException
当找不到一个特定的方法时引发。
|
Modifier and Type | Class and Description |
---|---|
class |
InvocationTargetException
invocationtargetexception是检查异常,将异常的调用的方法或构造函数抛出。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.