Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-181

Change exceptions to use I18n

XMLWordPrintable

    • Low

      The runtime exceptions used in DNA take String messages, but everywhere they're used we pass an I18n.text() result into the constructor. These exceptions should be changed to take an I18n and parameters, and to delay the actual processing of the localization. This would make it possible to allow people in different locales to view the exceptions correctly (i.e., a web application where administrators can view the problems/errors). We probably should have a base class that represents a DNA exception that does most (if not all) of this work.

      This should be an easy change, although it will likely have a large (but straighforward) impact on the code base.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: