org.apache.maven.plugin
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.CompilationFailureException
- All Implemented Interfaces:
- Serializable
public class CompilationFailureException
- extends MojoFailureException
- Since:
- 2.0
- Version:
- $Id: CompilationFailureException.html 816619 2012-05-08 13:09:26Z hboutemy $
- 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<CompilerError> messages)
longMessage
public static String longMessage(List<CompilerError> messages)
shortMessage
public static String shortMessage(List<CompilerError> 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.