Package io.prestosql.execution
Class ExecutionFailureInfo
- java.lang.Object
-
- io.prestosql.execution.ExecutionFailureInfo
-
@Immutable public class ExecutionFailureInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description ExecutionFailureInfo(String type, String message, ExecutionFailureInfo cause, List<ExecutionFailureInfo> suppressed, List<String> stack, ErrorLocation errorLocation, ErrorCode errorCode, HostAddress remoteHost)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionFailureInfo
getCause()
ErrorCode
getErrorCode()
ErrorLocation
getErrorLocation()
String
getMessage()
HostAddress
getRemoteHost()
List<String>
getStack()
List<ExecutionFailureInfo>
getSuppressed()
String
getType()
RuntimeException
toException()
FailureInfo
toFailureInfo()
static StackTraceElement
toStackTraceElement(String stack)
-
-
-
Constructor Detail
-
ExecutionFailureInfo
public ExecutionFailureInfo(String type, String message, ExecutionFailureInfo cause, List<ExecutionFailureInfo> suppressed, List<String> stack, @Nullable ErrorLocation errorLocation, @Nullable ErrorCode errorCode, @Nullable HostAddress remoteHost)
-
-
Method Detail
-
getType
public String getType()
-
getMessage
@Nullable public String getMessage()
-
getCause
@Nullable public ExecutionFailureInfo getCause()
-
getSuppressed
public List<ExecutionFailureInfo> getSuppressed()
-
getErrorLocation
@Nullable public ErrorLocation getErrorLocation()
-
getErrorCode
@Nullable public ErrorCode getErrorCode()
-
getRemoteHost
@Nullable public HostAddress getRemoteHost()
-
toFailureInfo
public FailureInfo toFailureInfo()
-
toException
public RuntimeException toException()
-
toStackTraceElement
public static StackTraceElement toStackTraceElement(String stack)
-
-