File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
what's the difference between "throws Exception" and "throws Throwable"?
Joined: Sep 26, 2005
Oct 02, 2005 20:33:00
could anyone tell me? thanks!
Joined: May 12, 2005
Oct 02, 2005 22:32:00
Throwable is superclass of Exception, if you throw Throwable, Exception is covered/throwed automatically
SCJA, SCJP5.0, SCBCD, SCWCD
I agree. Here's the link:
subject: what's the difference between "throws Exception" and "throws Throwable"?
SCJP Brainteaser (2)
synchronized, wait, notify
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014