Home Tutorial Java Certification Exception Handling in Java

 
 

Share on Google+Share on Google+
Exception Handling in Java
Posted on: July 2, 2010 at 12:00 AM
Advertisement
In this section of SCJP you will see about exception handling.

Exception, that means exceptional errors. Actually exceptions are used for handling errors in programs that occurs during the program execution. During the program execution if any error occurs and you want to print your own message or the system message about the error then you write the part of the program which generate the error in the try{} block and catch the errors using catch() block. Exception turns the direction of normal flow of the program control and send to the related catch() block. Error that occurs during the program execution generate a specific object which has the information about the errors occurred in the program.

For more details about exception handling click on the following links

Exception Handling in Java

Example to show exception handling in java

User Defined Exception

List of Java Exception

Unhandled Exception

Show ArrayoutofboundException in java

Show Hash table exception in java

Show clone exception in java

Show Collection exception in java

Create exception object in java

Show ArraylistException in Java

Show Iterator exception in java

Advertisement

Related Tags for Exception Handling in Java:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: July 2, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com