Package | Description |
---|---|
java.lang |
Modifier and Type | Class and Description |
---|---|
class |
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using:
The
forName method in class Class . |
class |
IllegalAccessException
An IllegalAccessException is thrown when an application tries to reflectively create an instance
(other than an array), set or get a field, or invoke a method, but the currently executing method
does not have access to the definition of the specified class, field, method or constructor.
|
class |
InstantiationException
Thrown when an application tries to create an instance of a class using the
newInstance
method in class Class , but the specified class object cannot be instantiated. |
class |
NoSuchFieldException
Signals that the class doesn't have a field of a specified name.
|
class |
NoSuchMethodException
Thrown when a particular method cannot be found.
|