D2W way to handle EOGeneralAdaptorException other than Optimistic Locking Failure
"Pujanauski, Jeanne" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <BF7E324707839A42890B9B65B327913747BC77CE@hrn-prod-exch-5.k12.enterprise.adm> |
We are using ERModernLook. When a create or edit is saved, the tryToSaveChanges method catches an EOGeneralAdaptorException and handles the Optimistic Locking Failure. Any other EOGeneralAdaptorException is thrown again. Is there a good D2W way to catch this re-thrown exception to generate an error message on that page that can be shown to the user? I would like to set up something generic to handle a different EOGeneralAdaptorException where a database constraint has been violated. Thanks for your help, Jeanne ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc