Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMethodError
Thrown when an application tries to call an abstract method.
|
class |
IllegalAccessError
Thrown if an application attempts to access or modify a field, or
to call a method that it does not have access to.
|
class |
InstantiationError
Thrown when an application tries to use the Java
new
construct to instantiate an abstract class or an interface. |
class |
NoSuchFieldError
Thrown if an application tries to access or modify a specified
field of an object, and that object no longer has that field.
|
class |
NoSuchMethodError
Thrown 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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.