Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1453

Exception error messages and i18n

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0
    • None
    • Plugins and Lifecycle
    • None
    • all

    Description

      Augment the exceptions thrown by components and plugins with a methodology supporting internationlization (i18n) of error messages.

      The framework would promote the use of readily translatable error message tables by deprecating the use of the standard new Exception(message:String). Each exception thrown by a plugin or component would have a code wrapped in an error object for easy use. A JUnit test object would be available to extend by component developers to immediately check for missing exception strings.

      For a working example, look to the xmlbeans-maven-plugin in the codohaus subversion repository.

      A patch will be attached for a single component for review, followed by a comprehensive patch of the core.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              corridor Corridor Software Developer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: