gradle
Toggle table of contents
9.9.0-20261017002311+0000
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.workers
/
WorkerExecutionException
Worker
Execution
Exception
API
open
class
WorkerExecutionException
:
DefaultMultiCauseException
(
source
)
Indicates that a failure occurred during execution of work in a worker.
Since
3.5
Members
Constructors
Worker
Execution
Exception
Link copied to clipboard
API
constructor
(
message
:
String
)
Creates a new
WorkerExecutionException
.
constructor
(
message
:
String
,
causes
:
Array
<
Throwable
>
)
Creates a new
WorkerExecutionException
.
constructor
(
message
:
String
,
causes
:
Iterable
<
out
Throwable
>
)
Creates a new
WorkerExecutionException
.
Properties
cause
Link copied to clipboard
API
open
val
cause
:
Throwable
message
Link copied to clipboard
API
open
val
message
:
@
Nullable
String
resolutions
Link copied to clipboard
API
val
resolutions
:
List
<
String
>
stack
Trace
Link copied to clipboard
API
open
var
stackTrace
:
Array
<
StackTraceElement
>
Functions
add
Resolution
Link copied to clipboard
API
@
Incubating
open
fun
addResolution
(
resolution
:
String
)
Adds a potential resolution to this exception.
add
Suppressed
Link copied to clipboard
API
fun
addSuppressed
(
exception
:
Throwable
)
clear
Resolutions
Link copied to clipboard
API
@
Incubating
open
fun
clearResolutions
(
)
open
fun
clearResolutions
(
)
Clears the resolutions from this exception.
fill
In
Stack
Trace
Link copied to clipboard
API
open
fun
fillInStackTrace
(
)
:
Throwable
get
Causes
Link copied to clipboard
API
open
fun
getCauses
(
)
:
List
<
out
Throwable
>
get
Localized
Message
Link copied to clipboard
API
open
fun
getLocalizedMessage
(
)
:
String
get
Suppressed
Link copied to clipboard
API
fun
getSuppressed
(
)
:
Array
<
Throwable
>
has
Cause
Link copied to clipboard
API
open
fun
hasCause
(
type
:
Class
<
out
Any
>
)
:
Boolean
init
Cause
Link copied to clipboard
API
open
fun
initCause
(
throwable
:
Throwable
)
:
Throwable
init
Causes
Link copied to clipboard
API
open
fun
initCauses
(
causes
:
Iterable
<
out
Throwable
>
)
print
Stack
Trace
Link copied to clipboard
API
open
fun
printStackTrace
(
printStream
:
PrintStream
)
to
String
Link copied to clipboard
API
open
fun
toString
(
)
:
String