Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Tutorial For Exceptions in Java

Share this post!
 Vote this!

An exception is a problem that arises during the execution of a program. An exception can occur for many different reasons, including the following:

  1. A user has entered invalid data.
  2. A file that needs to be opened cannot be found.
  3. A network connection has been lost in the middle of communications, or the JVM has run out of memory.

Some of these exceptions are caused by user error, others by programmer error, and others by physical resources that have failed in some manner.
To understand how exception handling works in Java, you need to understand the three categories of exceptions: more...

0 comments:

Post a Comment