Exception error messages and i18n
---------------------------------

         Key: MNG-1453
         URL: http://jira.codehaus.org/browse/MNG-1453
     Project: Maven 2
        Type: Improvement
  Components: maven-core  
    Versions: 2.0    
 Environment: all
    Reporter: Corridor Software Developer
     Fix For: 2.1



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.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to