Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jaman tai
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could anyone tell me? thanks!
 
reubin haz
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Throwable is superclass of Exception, if you throw Throwable, Exception is covered/throwed automatically
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic