| Package | Description | 
|---|---|
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractMethodErrorThrown when an application tries to call an abstract method. | 
| class  | IllegalAccessErrorThrown if an application attempts to access or modify a field, or
 to call a method that it does not have access to. | 
| class  | InstantiationErrorThrown when an application tries to use the Java  newconstruct to instantiate an abstract class or an interface. | 
| class  | NoSuchFieldErrorThrown if an application tries to access or modify a specified
 field of an object, and that object no longer has that field. | 
| class  | NoSuchMethodErrorThrown if an application tries to call a specified method of a
 class (either static or instance), and that class no longer has a
 definition of that method. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.