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:
java.io.Serializable
- Direct Known Subclasses:
CompilationFailureException
public class CompilationFailureException extends org.apache.maven.plugin.MojoFailureException
- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
LS
-
Constructor Summary
Constructors Constructor Description CompilationFailureException(java.util.List<org.codehaus.plexus.compiler.CompilerMessage> messages)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
longMessage(java.util.List<org.codehaus.plexus.compiler.CompilerMessage> messages)
static java.lang.String
shortMessage(java.util.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
-
-
-
-
Method Detail
-
longMessage
public static java.lang.String longMessage(java.util.List<org.codehaus.plexus.compiler.CompilerMessage> messages)
-
shortMessage
public static java.lang.String shortMessage(java.util.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- Parameters:
messages
- the messages- Returns:
- the short error message
- Since:
- 2.0.2
-
-