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:
  • Method Details

    • 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.