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:
Serializable
public final class CompilationFailedException
extends org.apache.maven.plugin.MojoExecutionException
Exception thrown when Ajc finds errors during compilation.
- Author:
- Carlos Sanchez
- See Also:
-
Field Summary
Fields inherited from class org.apache.maven.plugin.AbstractMojoExecutionException
longMessage, source
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
create
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.
-