aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes throwing exception in actionPerformed(event e) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "throwing exception in actionPerformed(event e)" Watch "throwing exception in actionPerformed(event e)" New topic
Author

throwing exception in actionPerformed(event e)

Hung Tang
Ranch Hand

Joined: Feb 14, 2002
Posts: 148
I have a BookFlight button, when I click on it, it will invoke the actionPerformed method. This method does not throw any exceptions. But in this method, I have to invoke the criteriaFind method which throws exceptions! how do I get around this?
Bal Sharma
Ranch Hand

Joined: Sep 19, 2001
Posts: 273
Hey Hung:
Is there any problem to use try and catch block in your actionPerformed method? Use criteriaFind
method inside try block. I think you would be able to handle exception whatever it is inside catch block.
-Bal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: throwing exception in actionPerformed(event e)