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:
java.io.Serializable

public class CompilationFailureException
extends org.apache.maven.plugin.MojoFailureException

Version:
$Id: CompilationFailureException.java 496220 2007-01-15 03:46:19Z brett $
Author:
Jason van Zyl
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.plugin.AbstractMojoExecutionException
longMessage, source
 
Constructor Summary
CompilationFailureException(java.util.List messages)
           
 
Method Summary
static java.lang.String longMessage(java.util.List messages)
           
static java.lang.String shortMessage(java.util.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(java.util.List messages)
Method Detail

longMessage

public static java.lang.String longMessage(java.util.List messages)

shortMessage

public static java.lang.String shortMessage(java.util.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


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.