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 12:20:35 UTC
[jira] Created: (MNG-3279) Support Exception Chaining for
MojoFailureException
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
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
[jira] Closed: (MNG-3279) Support Exception Chaining for
MojoFailureException
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton closed MNG-3279.
--------------------------------
Assignee: Vincent Siveton
Resolution: Fixed
Fix Version/s: 2.0.9
Patch applied. Thanks!
> 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
> Assignee: Vincent Siveton
> Priority: Trivial
> Fix For: 2.0.9
>
> 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
[jira] Updated: (MNG-3279) Support Exception Chaining for
MojoFailureException
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ 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