Package org.apache.maven.plugin.compiler
Class CompilationFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.plugin.AbstractMojoExecutionException
-
- org.apache.maven.plugin.MojoFailureException
-
- org.apache.maven.plugin.compiler.CompilationFailureException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CompilationFailureException
public class CompilationFailureException extends org.apache.maven.plugin.MojoFailureException
- Since:
- 2.0
- Author:
- Jason van Zyl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompilationFailureException(List<org.codehaus.plexus.compiler.CompilerMessage> messages)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
longMessage(List<org.codehaus.plexus.compiler.CompilerMessage> messages)
static String
shortMessage(List<org.codehaus.plexus.compiler.CompilerMessage> messages)
Short message will have the error message if there's only one, useful for errors forking the compiler-
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
-
-