Error (Java)

The branch of Java's throwable types for serious problems, such as running out of memory, that ordinary application code should not try to recover from.

In more detail

Errors extend Throwable directly, not Exception, and are unchecked. Catching them usually hides a condition the whole process needs to report or restart from.

Related terms

Taught in

References