Class CompilationFailureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.maven.api.services.MavenException
org.apache.maven.api.plugin.MojoException
org.apache.maven.plugin.compiler.CompilationFailureException
All Implemented Interfaces:
Serializable

public class CompilationFailureException extends org.apache.maven.api.plugin.MojoException
Thrown when the Maven compiler plugin cannot complete the project compilation.
Since:
2.0
Author:
Jason van Zyl
See Also:
  • Constructor Details

    • CompilationFailureException

      public CompilationFailureException(String message)
      Creates a new exception with the given message.
      Parameters:
      message - the short message
    • CompilationFailureException

      public CompilationFailureException(String message, Throwable cause)
      Creates a new exception with the given message and cause.
      Parameters:
      message - the short message
      cause - the cause of the failure, or null if none