Package org.apache.maven.plugin.compiler
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:
-
Field Summary
Fields inherited from class org.apache.maven.api.plugin.MojoException
longMessage, source
-
Constructor Summary
ConstructorsConstructorDescriptionCompilationFailureException
(String message) Creates a new exception with the given message.CompilationFailureException
(String message, Throwable cause) Creates a new exception with the given message and cause. -
Method Summary
Methods inherited from class org.apache.maven.api.plugin.MojoException
getLongMessage, getSource
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CompilationFailureException
Creates a new exception with the given message.- Parameters:
message
- the short message
-
CompilationFailureException
Creates a new exception with the given message and cause.- Parameters:
message
- the short messagecause
- the cause of the failure, ornull
if none
-