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

Exception prefixes should be human-readable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.9.0, 0.9.6
    • 0.9.7
    • diagnostics
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: