Exception:
An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions.
Error:
An Error indicates that a non-recoverable condition has occurred that
should not be caught. Error, a subclass of Throwable, is intended for
drastic problems, such as OutOfMemoryError, which would be reported by
the JVM itself.
Posted in: