View Single Post
  #2 (permalink)  
Old 08-02-2007, 04:51 PM
henry_78 henry_78 is offline
Member
 
Join Date: Aug 2007
Posts: 47
henry_78 is on a distinguished road
Hi paty,
There are 2 types of exceptions.
Unchecked exceptions : excptions that could happen at run time..u dont have to handle them because the java compilers dont check if u handled them or not (but u better do).
Checked Exceptions: Exceptions that u have to handle because the java compiler will give u a compile erroe if u dont do.
Exception can be hadled directley when they accoured(by try and catch blocke) or can be propagated (using throw clousle).
Its really a very bi argument..u better read a bit about it.
Bye.
Reply With Quote