public class HiveSQLException extends SQLException
Modifier and Type | Field and Description |
---|---|
static List<String> |
DEFAULT_INFO |
Constructor and Description |
---|
HiveSQLException()
Constructor.
|
HiveSQLException(String reason)
Constructs a SQLException object with a given 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)
Constructs a SQLException object with a given cause.
|
HiveSQLException(TStatus status) |
Modifier and Type | Method and Description |
---|---|
TStatus |
toTStatus()
Converts current object to a
TStatus object. |
static TStatus |
toTStatus(Exception e)
|
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public HiveSQLException()
public HiveSQLException(String reason)
reason
- a description of the exceptionpublic HiveSQLException(Throwable cause)
cause
- the underlying reason for this SQLException - may be null
indicating the cause is non-existent or unknownpublic 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(TStatus status)
Copyright © 2022 The Apache Software Foundation. All rights reserved.