File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes exception doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "exception doubt" Watch "exception doubt" New topic

exception doubt

vivek sivakumar
Ranch Hand

Joined: Aug 09, 2001
Posts: 187
package languagefundamentals;
import languagefundamentals.obj;
public class mainforinterface1 extends obj implements Interface1 {
public int doit(String s)
return 0;
public static void main(String[] args) {
mainforinterface1 mymain = new mainforinterface1();
try {
mymain.finalize();// 1
catch(Exception Throwable){
well when i compile im getting a "": Error #: 360 : unreported exception: java.lang.Throwable; must be caught or declared to be thrown at line 13, column 20
why is this problem ,

SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
hope that helps

"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
I agree. Here's the link:
subject: exception doubt
jQuery in Action, 3rd edition