@Immutable public class ExecutionFailureInfo extends Object
| Constructor and Description |
|---|
ExecutionFailureInfo(String type,
String message,
ExecutionFailureInfo cause,
List<ExecutionFailureInfo> suppressed,
List<String> stack,
ErrorLocation errorLocation,
ErrorCode errorCode,
Optional<SemanticErrorCode> semanticErrorCode,
HostAddress remoteHost) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionFailureInfo |
getCause() |
ErrorCode |
getErrorCode() |
ErrorLocation |
getErrorLocation() |
String |
getMessage() |
HostAddress |
getRemoteHost() |
Optional<SemanticErrorCode> |
getSemanticErrorCode() |
List<String> |
getStack() |
List<ExecutionFailureInfo> |
getSuppressed() |
String |
getType() |
RuntimeException |
toException() |
FailureInfo |
toFailureInfo() |
static StackTraceElement |
toStackTraceElement(String stack) |
public ExecutionFailureInfo(String type, String message, ExecutionFailureInfo cause, List<ExecutionFailureInfo> suppressed, List<String> stack, @Nullable ErrorLocation errorLocation, @Nullable ErrorCode errorCode, Optional<SemanticErrorCode> semanticErrorCode, @Nullable HostAddress remoteHost)
public String getType()
@Nullable public ExecutionFailureInfo getCause()
public List<ExecutionFailureInfo> getSuppressed()
@Nullable public ErrorLocation getErrorLocation()
public Optional<SemanticErrorCode> getSemanticErrorCode()
@Nullable public HostAddress getRemoteHost()
public FailureInfo toFailureInfo()
public RuntimeException toException()
public static StackTraceElement toStackTraceElement(String stack)
Copyright © 2012–2019. All rights reserved.