[Escapek-developers] [Task #131811] Persistence manager exception management
Status: Pre-Alpha
Brought to you by:
nicolasjouanin
|
From: SourceForge.net <no...@so...> - 2006-10-25 19:51:35
|
Task #131811 has been updated. Project: Escape-K Subproject: escape-K server Summary: Persistence manager exception management Complete: 0% Status: Open Authority : nicolasjouanin Assigned to: nobody Description: Persistence manager exception should not go back to client side. Any exception that can be thrown by the entity manager when querying of managing objects should be caught on the server side and whether: - return null object to the client - throw generic exception Follow-Ups: ------------------------------------------------------- Date: 2006-10-25 21:51 By: nicolasjouanin Comment: More generally, when business errors occurs, a generic exception should be thrown back to the client. This would implement rollback. Business errors appears when persistence manager returns unexpected result of when some checks made by a business methods are not validated by the given data. ------------------------------------------------------- For more info, visit: http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=131811&group_id=162229&group_project_id=46915 |