Errors Flashcards
Thrown when an assertion fails.
AssertionError
Thrown when a serious I/O error occurs.
IOError
Thrown when the JVM itself enters an erroneous state (due to a bug) or when the JVM runs out of resources.
VirtualMachineError
Thrown when the JVM cannot allocate any more memory; a derived class of VirtualMachineError.
OutOfMemoryError
Thrown when the linking performed by the JVM fails (for example due to a circular class hierarchy in which case the ClassCircularityError will be thrown, which is a derived class of this error)
LinkageError
Thrown when attempting to load the definition of a class when the class loader cannot find that class.
NoClassDefFoundError
Thrown when the application has a non terminating recursive call, or when the application makes too many function calls that the jvm cannot handle; a derived class of VirtualMachineError.
StackOverflowError