Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0
-
None
-
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
- duplicates
-
MNG-330 centralise and internationalise error messages
- Closed