openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <>
Subject [jira] Commented: (OPENJPA-176) Exception prefixes should be human-readable
Date Sat, 24 Mar 2007 15:54:32 GMT


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:
>             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.

View raw message