File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Exceptions" Watch "Exceptions" New topic


abhisaar jain

Joined: Sep 19, 2009
Posts: 1
What are the limitations of throw() and throws()?
im not getting clear with it,,,
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46437
Welcome to JavaRanch

Neither throw() nor throws() can be compiled.
How much do you know about Exceptions? Start with the Java™ Tutorials.
I agree. Here's the link:
subject: Exceptions
It's not a secret anymore!