public class KyuubiSQLException extends SQLException
| Constructor and Description |
|---|
KyuubiSQLException()
Constructor.
|
KyuubiSQLException(String reason)
Constructs a SQLException object with a given reason.
|
KyuubiSQLException(String reason,
String sqlState) |
KyuubiSQLException(String reason,
String sqlState,
int vendorCode) |
KyuubiSQLException(String reason,
String sqlState,
int vendorCode,
Throwable cause) |
KyuubiSQLException(String reason,
String sqlState,
Throwable cause) |
KyuubiSQLException(String reason,
Throwable cause) |
KyuubiSQLException(Throwable cause)
Constructs a SQLException object with a given cause.
|
KyuubiSQLException(org.apache.kyuubi.shaded.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. |
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 KyuubiSQLException()
public KyuubiSQLException(String reason)
reason - a description of the exceptionpublic KyuubiSQLException(Throwable cause)
cause - the underlying reason for this SQLException - may be null indicating the cause is
non-existent or unknownpublic KyuubiSQLException(String reason, String sqlState, int vendorCode, Throwable cause)
public KyuubiSQLException(org.apache.kyuubi.shaded.hive.service.rpc.thrift.TStatus status)
public 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 © 2023 The Apache Software Foundation. All rights reserved.