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 YourselfAnyClassException
Any class can be an exception class
CatchAlwaysExecutes
Catch blocks always get executed
CatchProvidesOptions
Only the part of a catch block necessary to fix the cause of an exception is executed
ExceptionRoot
Exception is the top-most exception class
NullPointerExceptionCompileTime
NullPointerExceptions are detected at compile time
RuntimeExceptionChecked
RuntimeExceptions are checked exceptions
TryCatchMandatory
When a piece of code can throw an exception, it must be surrounded with a try/catch block
TryFinishes
Exceptions get thrown at the end of the try block