Class BuildFailure

  extended by org.apache.maven.execution.BuildSummary
      extended by org.apache.maven.execution.BuildFailure

public class BuildFailure
extends BuildSummary

Summarizes the result of a failed project build in the reactor.

Benjamin Bentmann

Constructor Summary
BuildFailure(MavenProject project, long time, Throwable cause)
          Creates a new build summary for the specified project.
Method Summary
 Throwable getCause()
          Gets the cause of the build failure.
Methods inherited from class org.apache.maven.execution.BuildSummary
getProject, getTime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public BuildFailure(MavenProject project,
                    long time,
                    Throwable cause)
Creates a new build summary for the specified project.

project - The project being summarized, must not be null.
time - The build time of the project in milliseconds.
cause - The cause of the build failure, may be null.
Method Detail


public Throwable getCause()
Gets the cause of the build failure.

The cause of the build failure or null if unknown.

Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.