Package org.gradle.tooling.events.problems

## Interface FailureContainer

-     @Incubating
      public interface FailureContainer

  Holds an exception for a problem.
  Since:
    8.7

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Failure` | `getFailure()` | Failure that caused the problem.

- - ### Method Detail

    - #### getFailure

          @Nullable
          Failure getFailure()

      Failure that caused the problem.

      The method will always return `null` if run against a Gradle version prior to 8.8.

      Since:
        8.7