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 org.apache.maven.plugin.MojoFailureException

Since:
2.0
Version:
$Id: CompilationFailureException.html 816611 2012-05-08 13:04: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 messages)
           
 
Method Summary
static String longMessage(List messages)
           
static String shortMessage(List 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 messages)
Method Detail

longMessage

public static String longMessage(List messages)

shortMessage

public static String shortMessage(List 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-2009 The Apache Software Foundation. All Rights Reserved.