public class AvaticaClientRuntimeException extends RuntimeException
AvaticaRuntimeException
. This exception is not intended
for consumption by clients, AvaticaSqlException
serves that purpose. This exception only
exists to pass the original error attributes to a higher level of execution without modifying
existing exception-handling logic.Constructor and Description |
---|
AvaticaClientRuntimeException(String errorMessage,
int errorCode,
String sqlState,
AvaticaSeverity severity,
List<String> serverExceptions,
Service.RpcMetadataResponse metadata) |
AvaticaClientRuntimeException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
Service.RpcMetadataResponse |
getRpcMetadata() |
List<String> |
getServerExceptions() |
AvaticaSeverity |
getSeverity() |
String |
getSqlState() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AvaticaClientRuntimeException(String errorMessage, int errorCode, String sqlState, AvaticaSeverity severity, List<String> serverExceptions, Service.RpcMetadataResponse metadata)
public int getErrorCode()
public String getSqlState()
public AvaticaSeverity getSeverity()
public Service.RpcMetadataResponse getRpcMetadata()
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.