Package org.gradle.testkit.runner
Class UnexpectedBuildResultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.gradle.testkit.runner.UnexpectedBuildResultException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnexpectedBuildFailure
,UnexpectedBuildSuccess
@Incubating public abstract class UnexpectedBuildResultException extends RuntimeException
Base class forUnexpectedBuildFailure
andUnexpectedBuildSuccess
.- Since:
- 2.9
- See Also:
BuildResult
, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildResult
getBuildResult()
The result of the build execution.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getBuildResult
public BuildResult getBuildResult()
The result of the build execution.- Returns:
- the result of the build execution
-
-