Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle
[Java] Class BuildExceptionReporter

    java.lang.Object
      org.gradle.BuildAdapter
          org.gradle.BuildExceptionReporter

    public class BuildExceptionReporter
    extends BuildAdapter

A BuildListener which reports the build exception, if any.

Constructor Summary
`BuildExceptionReporter(org.gradle.logging.StyledTextOutputFactory textOutputFactory, StartParameter startParameter, org.gradle.initialization.BuildClientMetaData clientMetaData)`

Method Summary
`void` | `buildFinished(BuildResult result)`
`void` | `reportException(java.lang.Throwable failure)`
`void` | `reportInternalError(BuildExceptionReporter.FailureDetails details)`
`protected void` | `write(BuildExceptionReporter.FailureDetails details)`

Methods inherited from class BuildAdapter
buildFinished, buildStarted, projectsEvaluated, projectsLoaded, settingsEvaluated

Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Constructor Detail

### BuildExceptionReporter

    public BuildExceptionReporter(org.gradle.logging.StyledTextOutputFactory textOutputFactory, StartParameter startParameter, org.gradle.initialization.BuildClientMetaData clientMetaData)

Method Detail

### buildFinished

    public void buildFinished(BuildResult result)

### reportException

    public void reportException(java.lang.Throwable failure)

### reportInternalError

    public void reportInternalError(BuildExceptionReporter.FailureDetails details)

### write

    protected void write(BuildExceptionReporter.FailureDetails details)

Groovy Documentation