org.apache.maven.plugin
Class CompilationFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.plugin.AbstractMojoExecutionException
              extended by org.apache.maven.plugin.MojoFailureException
                  extended by 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

Field Summary
 
Fields inherited from class org.apache.maven.plugin.AbstractMojoExecutionException
longMessage, source
 
Constructor Summary
CompilationFailureException(List<CompilerError> messages)
           
 
Method Summary
static String longMessage(List<CompilerError> messages)
           
static String shortMessage(List<CompilerError> 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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilationFailureException

public CompilationFailureException(List<CompilerError> messages)
Method Detail

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.