Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-176

Exception prefixes should be human-readable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.9.0, 0.9.6
    • Fix Version/s: 0.9.7
    • Component/s: diagnostics
    • Labels:
      None

      Description

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

        Attachments

        1. OPENJPA-176.patch
          1 kB
          Marc Prud'hommeaux

          Activity

            People

            • Assignee:
              mprudhom Marc Prud'hommeaux
              Reporter:
              mprudhom Marc Prud'hommeaux
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: