| Author |
checked and Unchecked exceptions
|
Chetan Dodiya
Ranch Hand
Joined: Jun 27, 2008
Posts: 39
|
|
what are the checked and unchecked exceptions..... and how to handle it???
|
SCJP 1.5
|
 |
Harshit Rastogi
Ranch Hand
Joined: Apr 15, 2008
Posts: 131
|
|
You can find the answer : Checked & Unchecked Exception
|
<a href="http://technologiquepanorama.wordpress.com" target="_blank" rel="nofollow">My Techie Blog</a><br /><a href="http://www.java-questions.com" target="_blank" rel="nofollow">Java Questions</a>
|
 |
mani vannan
Ranch Hand
Joined: Apr 17, 2006
Posts: 47
|
|
Checked exception - you need to declare them, otherwise compiler will crip. Unchecked exception - you dont need to declare, compiler would let you go. Btw, this is a repeating question and you will find good information if you search this thread.
|
Mani (SCEA 1.4)<br /><a href="http://excusemeworld.com/technical/is-scjp-useful-worth-helps-job/" target="_blank" rel="nofollow"> Is SCJP Useful? Worth? Helps job?</a>
|
 |
geeta vemula
Ranch Hand
Joined: Jul 18, 2008
Posts: 208
|
|
|
checked excetions are compile time exceptions which you can handle using try-catch and unchecked are runtime exceptions which you cannot handle.
|
 |
rakesh sugirtharaj
Ranch Hand
Joined: Dec 16, 2007
Posts: 151
|
|
|
I have this hunch that all checked exceptions occur because there is a 'throw/throws' happening somewhere down the line. Am i correct?
|
Cheers!
RSR
|
 |
 |
|
|
subject: checked and Unchecked exceptions
|
|
|