Exceptions in java is the way of indicating the occurrence of abnormal condition in the program. Actually, these are objects that are thrown when program encounters any problem executing the program further. Different objects are thrown representing the problem occurred. The IOException is thrown to indicate some sort of I/O problem has occurred. This is the general class of exceptions generated when any I/O operation gets failed or interrupted. Its sub classes provides more specific information about the specific problem during the operation. These exception can be generated in the situations like failing to open the file, error during the execution of a remote method call, error finding IP address of a host etc.
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: November 11, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles