软件包 | 描述 |
---|---|
java.lang |
提供对java编程语言的设计基础课。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMethodError
当应用程序试图调用一个抽象方法时引发。
|
class |
IllegalAccessError
如果一个应用程序试图访问或修改字段,或调用它不访问的方法,则引发。
|
class |
InstantiationError
当应用程序试图使用java
new 构建实例化一个抽象类或接口。
|
class |
NoSuchFieldError
如果一个应用程序试图访问或修改一个对象指定的字段,并且该对象不再具有该字段。
|
class |
NoSuchMethodError
如果一个应用程序试图调用一个类的指定方法(静态或实例),而该类不再具有该方法的定义,则抛出。
|
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.