For AI agents: the documentation index is at
https://docs.gradle.org/llms.txt
. Request any page with the header
Accept: text/markdown
to get Markdown. User manual pages are also available as Markdown by replacing
.html
with
.md
in the URL.
gradle
Toggle table of contents
9.9.3
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.tooling
/
BuildActionFailureException
Build
Action
Failure
Exception
API
open
class
BuildActionFailureException
:
GradleConnectionException
(
source
)
Thrown when a
BuildAction
fails.
Since
1.8
Members
Constructors
Build
Action
Failure
Exception
Link copied to clipboard
API
constructor
(
message
:
String
,
throwable
:
Throwable
)
Creates a new
BuildActionFailureException
.
Properties
cause
Link copied to clipboard
API
open
val
cause
:
Throwable
stack
Trace
Link copied to clipboard
API
open
var
stackTrace
:
Array
<
StackTraceElement
>
Functions
add
Suppressed
Link copied to clipboard
API
fun
addSuppressed
(
exception
:
Throwable
)
fill
In
Stack
Trace
Link copied to clipboard
API
open
fun
fillInStackTrace
(
)
:
Throwable
get
Failures
Link copied to clipboard
API
@
Incubating
open
fun
getFailures
(
)
:
List
<
Failure
>
The list of failures that occurred during the build.
get
Localized
Message
Link copied to clipboard
API
open
fun
getLocalizedMessage
(
)
:
String
get
Message
Link copied to clipboard
API
open
fun
getMessage
(
)
:
String
get
Suppressed
Link copied to clipboard
API
fun
getSuppressed
(
)
:
Array
<
Throwable
>
init
Cause
Link copied to clipboard
API
open
fun
initCause
(
cause
:
Throwable
)
:
Throwable
print
Stack
Trace
Link copied to clipboard
API
open
fun
printStackTrace
(
)
to
String
Link copied to clipboard
API
open
fun
toString
(
)
:
String