Possible Duplicate:
What can you throw in Java?
Why can't I take an Exception in a reference of Object. I mean consider the following code:
try{.......}
catch(Object ex){.......}
It shows an error, where as we knows that it's possible for all the objects of any class to be referenced by Object.