Errors Flashcards

1
Q

Thrown when an assertion fails.

A

AssertionError

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Thrown when a serious I/O error occurs.

A

IOError

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Thrown when the JVM itself enters an erroneous state (due to a bug) or when the JVM runs out of resources.

A

VirtualMachineError

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Thrown when the JVM cannot allocate any more memory; a derived class of VirtualMachineError.

A

OutOfMemoryError

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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)

A

LinkageError

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Thrown when attempting to load the definition of a class when the class loader cannot find that class.

A

NoClassDefFoundError

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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.

A

StackOverflowError

How well did you know this?
1
Not at all
2
3
4
5
Perfectly