File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes core java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "core java" Watch "core java" New topic

core java

vijay deivasigamani deivasigamani

Joined: Apr 15, 2007
Posts: 3

I have a doubt, can we return an exception to a method? if so give me an example.
Jim Hardin
Ranch Hand

Joined: Aug 02, 2006
Posts: 46
I think this question belongs in "Java >> Java in General (beginner)"
instead of "Products >> Struts". That said, if I understand your question, I think you're looking for:

See also Sun Exceptions Tutorial.
I agree. Here's the link:
subject: core java
It's not a secret anymore!