@ThriftStruct(value="UdfServiceException") public final class ThriftUdfServiceException extends Exception
| Constructor and Description |
|---|
ThriftUdfServiceException(boolean retryable,
ErrorCode errorCode,
UdfExecutionFailureInfo failureInfo) |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
getErrorCode() |
UdfExecutionFailureInfo |
getFailureInfo() |
String |
getMessage() |
boolean |
isRetryable() |
static ThriftUdfServiceException |
toThriftUdfServiceException(boolean retryable,
ErrorCode errorCode,
Throwable throwable) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@ThriftConstructor
public ThriftUdfServiceException(boolean retryable,
ErrorCode errorCode,
UdfExecutionFailureInfo failureInfo)
@ThriftField(value=1) public String getMessage()
getMessage in class Throwable@ThriftField(value=2) public boolean isRetryable()
@ThriftField(value=3) public ErrorCode getErrorCode()
@ThriftField(value=4) public UdfExecutionFailureInfo getFailureInfo()
public static ThriftUdfServiceException toThriftUdfServiceException(boolean retryable, ErrorCode errorCode, Throwable throwable)
Copyright © 2012–2022. All rights reserved.