public class HiveSQLException extends SQLException
| Constructor and Description |
|---|
HiveSQLException() |
HiveSQLException(String reason) |
HiveSQLException(String reason,
String sqlState) |
HiveSQLException(String reason,
String sqlState,
int vendorCode) |
HiveSQLException(String reason,
String sqlState,
int vendorCode,
Throwable cause) |
HiveSQLException(String reason,
String sqlState,
Throwable cause) |
HiveSQLException(String reason,
Throwable cause) |
HiveSQLException(Throwable cause) |
HiveSQLException(org.apache.hive.service.rpc.thrift.TStatus status) |
| Modifier and Type | Method and Description |
|---|---|
static Throwable |
toCause(List<String> details)
Converts a flattened list of texts including the stack trace and the stack
traces of the nested causes into a
Throwable object. |
static List<String> |
toString(Throwable ex)
Converts a
Throwable object into a flattened list of texts including its stack trace
and the stack traces of the nested causes. |
org.apache.hive.service.rpc.thrift.TStatus |
toTStatus()
Converts current object to a
TStatus object |
static org.apache.hive.service.rpc.thrift.TStatus |
toTStatus(Exception e)
Converts the specified
Exception object into a TStatus object |
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic HiveSQLException()
public HiveSQLException(String reason)
reason - public HiveSQLException(Throwable cause)
cause - public HiveSQLException(String reason, String sqlState)
reason - sqlState - public HiveSQLException(String reason, Throwable cause)
reason - cause - public HiveSQLException(String reason, String sqlState, int vendorCode)
reason - sqlState - vendorCode - public HiveSQLException(String reason, String sqlState, Throwable cause)
reason - sqlState - cause - public HiveSQLException(String reason, String sqlState, int vendorCode, Throwable cause)
reason - sqlState - vendorCode - cause - public HiveSQLException(org.apache.hive.service.rpc.thrift.TStatus status)
public org.apache.hive.service.rpc.thrift.TStatus toTStatus()
TStatus objectTStatus objectpublic static org.apache.hive.service.rpc.thrift.TStatus toTStatus(Exception e)
Exception object into a TStatus objecte - a Exception objectTStatus objectpublic static List<String> toString(Throwable ex)
Throwable object into a flattened list of texts including its stack trace
and the stack traces of the nested causes.public static Throwable toCause(List<String> details)
Throwable object.details - a flattened list of texts including the stack trace and the stack
traces of the nested causesThrowable objectCopyright © 2019 The Apache Software Foundation. All Rights Reserved.