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 MojoFailureException
- Since:
- 2.0
- Version:
- $Id: CompilationFailureException.java 1409891 2012-11-15 17:32:34Z olamy $
- Author:
- Jason van Zyl
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CompilationFailureException
public CompilationFailureException(List<CompilerMessage> messages)
longMessage
public static String longMessage(List<CompilerMessage> messages)
shortMessage
public static String shortMessage(List<CompilerMessage> messages)
- Short message will have the error message if there's only one, useful for errors forking the compiler
- Parameters:
messages
-
- Returns:
- the short error message
- Since:
- 2.0.2
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.