Menu Bar

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Sunday, 15 January 2017

Explain Exception hierarchy in Java ?

Exception :

The Java Exception are of three types i.e. Checked Exception ,Unchecked Exception and Errors ,checked exception are also known as CompileTimeException and unchecked exception are also known as RunTimeException

Exception is a mechanism which must be handle so that normal flow of application can take place, because exception is an abnormal condition which distrupts the normal flow of application.

Checked Exceptions are those exception which are caught at compile time. Some Exceeption are such as IOException, SQLException, CloneNotSupportedException and many more.

Unchecked Exceptions are those exceptions which are caught at run time. Some Exception are such as NullPointerException, ArithmeticException, ArrayIndexOutOfBoundException ,NumberFormatException and many more.

Errors is a subclass of Throwable Exception that indicates serious problem and that can't be catch. Errors are abnormal conditions. Some Errors are such as NoClassDefFoundError, InternalError, StackOverflowError and many more.

Exception Hierarchy :





      
Blog Author - Pushkar Khosla,
Software Developer by Profession with 3.0 Yrs of Experience , through this blog i'am sharing my industrial Java Knowledge to entire world. For any question or query any one can comment below or mail me at pushkar.itsitm52@gmail.com.

This blog is all about to learn Core Java ,Interview Programs and Coding tricks to polish your Java Knowledge. If you like the content of this blog please share this with your friends.



Share this Blog with yours Friends !!

No comments:

Post a Comment