Exception:
- An event which disrupts normal execution of a program is known as exception
Exception handling:
- Handling an unexpected-event which results due to programmatic-error or non-availability of required resources during execution/run-time
Here is the index for Java Exception Handling concepts
Introduction
- Java – Exception Handling
- Java – Exception Hierarchy
- Java – 5 important keywords in Java Exception handling
Runtime mechanism:
Checked exception v/s Unchecked exception:
try-catch-finally blocks:
Nested try-catch block:
Return value from try-catch-finally blocks:
- Java – Returning value from method having try-catch-finally blocks
- Java – return statement with finally block
Difference between:
Print Exception information
throw v/s throws:
throws v/s try-catch-finally:
Rule for Exception handling when overriding:
User-defined exception:
Java 1.7 version enhancements:
Interview question & answer:
- Java – Difference between ClassNotFoundException v/s NoClassDefFoundError
- Java – Top Exception and Error
- Java – Interview question and answers on Exception Handling
Suggest tutorials from Contact Us page
Happy Coding !!
Happy Learning !!