You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2007/03/24 16:54:32 UTC

[jira] Commented: (OPENJPA-176) Exception prefixes should be human-readable

    [ https://issues.apache.org/jira/browse/OPENJPA-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483850 ] 

Craig Russell commented on OPENJPA-176:
---------------------------------------

I like it. 

What if the type is not one of the expected types? Perhaps we want to identify this case? Such as "unexpected error" or something.


> Exception prefixes should be human-readable
> -------------------------------------------
>
>                 Key: OPENJPA-176
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-176
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: diagnostics
>    Affects Versions: 0.9.0, 0.9.6
>            Reporter: Marc Prud'hommeaux
>         Assigned To: Marc Prud'hommeaux
>            Priority: Trivial
>         Attachments: OPENJPA-176.patch
>
>
> OpenJPA prefixes all exception messages with a string of the form "<exception type|is fatal|version>", restulting in strings like "<4|false|0.9.6-incubating> org.apache.openjpa.persistence.PersistenceException". This isn't very useful to the casual observer, since no translation of the meaning of the fields is done.
> it would be nice if we translated the fatal and type parameters, so that the string looked like "<user-error|recoverable|0.9.6-incubating>".

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