|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||
Uses of Class
java.lang.Error
| Uses of Error in java.lang |
| Subclasses of Error in java.lang | |
class |
AbstractMethodError
An AbstractMethodError is thrown when an application attempts
to access an abstract method. |
class |
AssertionError
An assertion error normally occurs as a result of the assert
statement added in JDK 1.4, to indicate that an assertion failed. |
class |
ClassCircularityError
A ClassCircularityError is thrown when a circular dependency
has been detected while initializing a class. |
class |
ClassFormatError
A ClassFormatError is thrown when a Java Virtual Machine
unable to read a class file because the file is corrupted or cannot be
interpreted as a class file. |
class |
ExceptionInInitializerError
An ExceptionInInitializerError is thrown when an uncaught
exception has occurred in a static initializer or the initializer for a
static variable. |
class |
IllegalAccessError
An IllegalAccessError is thrown when an attempt is made to
call a method, or access or modify a field that the application does not
have access to. |
class |
IncompatibleClassChangeError
An IncompatibleClassChangeError is thrown when the definition
of a class used by the currently executing method has changed in an
incompatible way. |
class |
InstantiationError
An InstantiationError is thrown when an attempt is made to
create an instance of an abstract class or an interface. |
class |
InternalError
An InternalError is thrown when a mystical error has
occurred in the Java Virtual Machine. |
class |
LinkageError
Subclasses of LinkageError are thrown to indicate that two
classes which were compatible at separate compilation times cannot be
linked to one another. |
class |
NoClassDefFoundError
A NoClassDefFoundError is thrown when a classloader or the
Java Virtual Machine tries to load a class and no definition of the class
can be found. |
class |
NoSuchFieldError
A NoSuchFieldError is thrown if an application attempts
to access a field of a class, and that class no longer has that field. |
class |
NoSuchMethodError
A NoSuchMethodError is thrown if an application attempts
to access a method of a class, and that class no longer has that method. |
class |
OutOfMemoryError
Thrown when the Java Virtual Machine is unable to allocate an object because it is out of memory and no more memory could be made available by the garbage collector. |
class |
StackOverflowError
A StackOverflowError is thrown when the execution stack
overflow occurs. |
class |
ThreadDeath
ThreadDeath is thrown in a thread when someone calls stop()
on that thread. |
class |
UnknownError
An UnknownError is thrown when a serious but unknown
problem has occurred in the Java Virtual Machine. |
class |
UnsatisfiedLinkError
A UnsatisfiedLinkError is thrown if an appropriate
native language definition of a method declared native
cannot be found by the Java Virtual Machine. |
class |
UnsupportedClassVersionError
An UnsupportedClassVersionError is thrown when the
Java Virtual Machine determines it does not support the major and minor
version numbers in the class file it is attempting to read. |
class |
VerifyError
A VerifyError is thrown if there is a security problem or
internal inconsistency in a class file as detected by the "verifier." |
class |
VirtualMachineError
A VirtualMachineError or its subclasses are thrown to
indicate there is something wrong with the Java Virtual Machine or that
it does not have the resources needed for it to continue execution. |
|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||