This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes what's the difference between Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "what Watch "what New topic
Author

what's the difference between "throws Exception" and "throws Throwable"?

jaman tai
Ranch Hand

Joined: Sep 26, 2005
Posts: 37
could anyone tell me? thanks!
reubin haz
Ranch Hand

Joined: May 12, 2005
Posts: 287
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: http://aspose.com/file-tools
 
subject: what's the difference between "throws Exception" and "throws Throwable"?
 
Similar Threads
SCJP Brainteaser (2)
synchronized, wait, notify
sleep()
sendRedirect()
Simple question