Exception Handling

Exception: An even which disrupts the 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 runtime

 

Here is the index for Java Exception Handling concepts

Introduction

 

Runtime mechanism:

 

Checked exception v/s Unchecked exception:

 

try-catch-finally blocks:

 

Nested try-catch block:

 

Return value from try-catch-finally blocks:

 

Difference between:

 

Print Exception information

 

throw v/s throws:

 

Rule for Exception handling when overriding:

 

User-defined exception:

 

Java 1.7 version enhancements:

 

Interview question & answer:

 

Suggest tutorials from Contact Us page