org.apache.maven
Class AggregatedBuildFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.BuildFailureException
              extended by org.apache.maven.AggregatedBuildFailureException
All Implemented Interfaces:
java.io.Serializable

public class AggregatedBuildFailureException
extends BuildFailureException

Exception which occurs when an @aggregator plugin fails to execute. This exception is meant to wrap a MojoFailureException, and provide additional details about the mojo that failed, via MojoBinding and the root directory in which the build executes.

Author:
jdcasey
See Also:
Serialized Form

Constructor Summary
AggregatedBuildFailureException(java.lang.String executionRootDirectory, MojoBinding binding, MojoFailureException cause)
           
 
Method Summary
 MojoBinding getBinding()
           
 java.lang.String getExecutionRootDirectory()
           
 MojoFailureException getMojoFailureException()
           
 
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

AggregatedBuildFailureException

public AggregatedBuildFailureException(java.lang.String executionRootDirectory,
                                       MojoBinding binding,
                                       MojoFailureException cause)
Method Detail

getMojoFailureException

public MojoFailureException getMojoFailureException()

getExecutionRootDirectory

public java.lang.String getExecutionRootDirectory()

getBinding

public MojoBinding getBinding()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.