public final class Failures extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REMOTE_TASK_MISMATCH_ERROR |
static String |
WORKER_NODE_ERROR |
Modifier and Type | Method and Description |
---|---|
static void |
checkCondition(boolean condition,
ErrorCodeSupplier errorCode,
String formatString,
Object... args) |
static PrestoException |
internalError(Throwable t) |
static ExecutionFailureInfo |
toFailure(Throwable failure) |
static List<ExecutionFailureInfo> |
toFailures(Collection<? extends Throwable> failures) |
public static final String WORKER_NODE_ERROR
public static final String REMOTE_TASK_MISMATCH_ERROR
public static ExecutionFailureInfo toFailure(Throwable failure)
public static void checkCondition(boolean condition, ErrorCodeSupplier errorCode, String formatString, Object... args)
public static List<ExecutionFailureInfo> toFailures(Collection<? extends Throwable> failures)
public static PrestoException internalError(Throwable t)
Copyright © 2012–2019. All rights reserved.