Author: vsiveton
Date: Fri Jan 4 12:54:03 2008
New Revision: 609000
URL: http://svn.apache.org/viewvc?rev=609000&view=rev
Log:
MNG-3279: Support Exception Chaining for MojoFailureException
Submitted by: Benjamin Bentmann
Reviewed by: Vincent Siveton
o applied
Modified:
maven/components/branches/maven-2.0.x/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
Modified:
maven/components/branches/maven-2.0.x/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
URL:
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java?rev=609000&r1=608999&r2=609000&view=diff
==============================================================================
---
maven/components/branches/maven-2.0.x/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
(original)
+++
maven/components/branches/maven-2.0.x/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
Fri Jan 4 12:54:03 2008
@@ -53,4 +53,17 @@
{
super( message );
}
+
+ /**
+ * Construct a new <code>MojoFailureException</code> exception wrapping an
underlying <code>Throwable</code>
+ * and providing a <code>message</code>.
+ *
+ * @param message
+ * @param cause
+ * @since 2.0.9
+ */
+ public MojoFailureException( String message, Throwable cause )
+ {
+ super( message, cause );
+ }
}