Package org.codehaus.mojo.aspectj
Class CompilationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.plugin.AbstractMojoExecutionException
-
- org.apache.maven.plugin.MojoExecutionException
-
- org.codehaus.mojo.aspectj.CompilationFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public final class CompilationFailedException extends org.apache.maven.plugin.MojoExecutionException
Exception thrown when Ajc finds errors during compilation.- Author:
- Carlos Sanchez
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompilationFailedException
create(org.aspectj.bridge.IMessage[] errors)
Factory method which creates a CompilationFailedException from the supplied AJC IMessages.-
Methods inherited from class org.apache.maven.plugin.AbstractMojoExecutionException
getLongMessage, getSource
-
-
-
-
Method Detail
-
create
public static CompilationFailedException create(org.aspectj.bridge.IMessage[] errors)
Factory method which creates a CompilationFailedException from the supplied AJC IMessages.- Parameters:
errors
- A non-empty array of IMessage objects which- Returns:
- A CompilationFailedException containing a string representation of the supplied errors.
-
-