Package io.trino.execution
Class ExecutionFailureInfo
- java.lang.Object
-
- io.trino.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 ExecutionFailureInfogetCause()ErrorCodegetErrorCode()ErrorLocationgetErrorLocation()StringgetMessage()HostAddressgetRemoteHost()List<String>getStack()List<ExecutionFailureInfo>getSuppressed()StringgetType()RuntimeExceptiontoException()FailureInfotoFailureInfo()static StackTraceElementtoStackTraceElement(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)
-
-