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
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.maven.plugin.AbstractMojoExecutionException
longMessage, source
-
Constructor Summary
ConstructorsConstructorDescriptionCompilationFailureException
(List<org.codehaus.plexus.compiler.CompilerMessage> messages) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 compilerMethods 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
-
Field Details
-
LS
-
-
Constructor Details
-
CompilationFailureException
-
-
Method Details
-
longMessage
-
shortMessage
Short message will have the error message if there's only one, useful for errors forking the compiler- Parameters:
messages
- the messages- Returns:
- the short error message
- Since:
- 2.0.2
-