You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2010/07/22 16:23:50 UTC

[jira] Assigned: (OFBIZ-3870) Extend GenericEntityExceptions and provide subclasses for different types of database errors

     [ https://issues.apache.org/jira/browse/OFBIZ-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath reassigned OFBIZ-3870:
---------------------------------

    Assignee: Adam Heath

> Extend GenericEntityExceptions and provide subclasses for different types of database errors
> --------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3870
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3870
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Deyan
>            Assignee: Adam Heath
>         Attachments: GenericEntityException_SQLState.patch
>
>
> Currently EntityEngine provides only GenericDuplicateKeyException which is never used. 
> It is needed for development purposes to create more detailed exceptions level which allows developers to better handle 
> database errors and warnings and help distinguish between recoverable and not-recoverable errors. 
> This improvement provides the following classes: 
> GenericIntegrityConstraintViolationException -> GenericEntityException
> GenericRestrictViolationException -> GenericIntegrityConstraintViolationException
> GenericNotNullViolationException -> GenericIntegrityConstraintViolationException
> GenericGoreignKeyViolationException -> GenericIntegrityConstraintViolationException
> GenericDuplicateKeyException -> GenericIntegrityConstraintViolationException ( modified superclass )
> GEnericCheckViolationException -> GenericIntegrityConstraintViolationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.