Class 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
    • Field Summary

      • Fields inherited from class org.apache.maven.plugin.AbstractMojoExecutionException

        longMessage, source
    • 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
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.