Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.0.7
-
Fix Version/s: 2.0.9
-
Component/s: Plugin API
-
Labels:None
-
Number of attachments :
Description
It would be helpful if MojoFailureException provides constructors to supply an inner exception, just like MojoExecutionException does already.
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).