public class ExecutionException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
protected @Nullable Tree |
tree
The tree where the failure occurred.
|
Constructor and Description |
---|
ExecutionException()
Constructs a new execution exception with
null as its detail message. |
ExecutionException(java.lang.String message)
Constructs a new execution exception with the specified detail message.
|
ExecutionException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new execution exception with the specified detail message and cause.
|
ExecutionException(@Nullable java.lang.String message,
@Nullable java.lang.Throwable cause,
@Nullable Tree tree)
Construct a new execution exception with the given
tree , message
and cause . |
ExecutionException(@Nullable java.lang.String message,
@Nullable Tree tree)
Construct a new execution exception with the given
tree and message . |
ExecutionException(java.lang.Throwable cause)
Constructs a new execution exception with the specified cause and a detail message
of
(cause==null ? null : cause.toString()) (which typically contains the
class and detail message of
cause).
|
ExecutionException(@Nullable java.lang.Throwable cause,
@Nullable Tree tree)
Construct a new execution exception with the given
tree and cause . |
ExecutionException(@Nullable Tree tree)
Construct a new execution exception with the given
tree . |
Modifier and Type | Method and Description |
---|---|
@Nullable Tree |
getTree()
Return the tree where the failure occurred.
|
@Nullable protected @Nullable Tree tree
public ExecutionException()
null
as its detail message. The
cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
.public ExecutionException(java.lang.String message)
Throwable.initCause(java.lang.Throwable)
.message
- the detail message. The detail message is saved for later retrieval
by the Throwable.getMessage()
method.public ExecutionException(java.lang.String message, java.lang.Throwable cause)
Note that the detail message associated with cause
is not
automatically incorporated in this runtime exception's detail message.
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and
indicates that the cause is nonexistent or unknown.)public ExecutionException(java.lang.Throwable cause)
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and
indicates that the cause is nonexistent or unknown.)public ExecutionException(@Nullable @Nullable Tree tree)
tree
.tree
- the tree where the failure occurred.public ExecutionException(@Nullable @Nullable java.lang.String message, @Nullable @Nullable Tree tree)
tree
and message
.message
- the message of the exception.tree
- the tree where the failure occurred.public ExecutionException(@Nullable @Nullable java.lang.String message, @Nullable @Nullable java.lang.Throwable cause, @Nullable @Nullable Tree tree)
tree
, message
and cause
.message
- the message of the exception.cause
- the throwable that caused to the construction of this exception.tree
- the tree where the failure occurred.public ExecutionException(@Nullable @Nullable java.lang.Throwable cause, @Nullable @Nullable Tree tree)
tree
and cause
.cause
- the throwable that caused to the construction of this exception.tree
- the tree where the failure occurred.@Nullable @Contract(pure=true) public @Nullable Tree getTree()