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,