my dog learned polymorphism*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "core java" Watch "core java" New topic
Author

core java

vijay deivasigamani deivasigamani
Greenhorn

Joined: Apr 15, 2007
Posts: 3
Hi,

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.
-Jim
 
 
subject: core java