You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2007/11/08 15:12:35 UTC

[jira] Updated: (MNG-3279) Support Exception Chaining for MojoFailureException

     [ http://jira.codehaus.org/browse/MNG-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3279:
-----------------------------------

    Attachment: exception-chaining.patch

This patch provides the requested API extension.

A little off-topic: The constructor MojoExecutionException(String, Exception) seems to be superfluous, callers would be automatically routed to MojoExecutionException(String, Throwable).
  

> Support Exception Chaining for MojoFailureException
> ---------------------------------------------------
>
>                 Key: MNG-3279
>                 URL: http://jira.codehaus.org/browse/MNG-3279
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Plugin API
>    Affects Versions: 2.0.7
>            Reporter: Benjamin Bentmann
>            Priority: Trivial
>         Attachments: exception-chaining.patch
>
>
> It would be helpful if MojoFailureException provides constructors to supply an inner exception, just like MojoExecutionException does already.

-- 
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