This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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