add mojo failure exception

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-03 04:24:11 +00:00
parent 283e0595bb
commit fe823b13ac
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ import bsh.Interpreter;
import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.Mojo; import org.apache.maven.plugin.Mojo;
import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.codehaus.plexus.component.factory.bsh.BshComponent; import org.codehaus.plexus.component.factory.bsh.BshComponent;
/** /**
@ -46,7 +47,7 @@ public class BeanshellMojoAdapter
} }
public void execute() public void execute()
throws MojoExecutionException throws MojoExecutionException, MojoFailureException
{ {
try try
{ {