Exception
The representation of an unexpected situation that affects control flow.
Related concepts: ObjectControl FlowReturn
Closest Wikipedia entry: Exception handling
Misconceptions about Exception9 documented Misconceptions
Check YourselfAccessingInexistentPropertyError — JavaScript
Accessing a non existent property on an object produces an errorAnyClassException — Java
Any class can be an exception classCatchAlwaysExecutes — Java
Catch blocks always get executedCatchProvidesOptions — Java
Only the necessary part of a catch block executesExceptionRoot — Java
Exception is the top-most exception classNullPointerExceptionCompileTime — Java
NullPointerExceptions are detected at compile timeRuntimeExceptionChecked — Java
RuntimeExceptions are checked exceptionsTryCatchMandatory — Java
If code could throw an exception, you must surround that code with a try/catch blockTryFinishes — Java
Exceptions get thrown at the end of the try block