public class OceanBaseSqlException extends SQLException
| Constructor and Description |
|---|
OceanBaseSqlException(String reason,
String sql,
String sqlState,
int vendorCode,
Throwable cause) |
OceanBaseSqlException(String reason,
String sql,
String sqlState,
Throwable cause) |
OceanBaseSqlException(String reason,
String sql,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeadLockInfo() |
String |
getSql() |
String |
getThreadName() |
static OceanBaseSqlException |
of(SQLException cause,
String sql) |
OceanBaseSqlException |
withDeadLockInfo(String deadLockInfo) |
OceanBaseSqlException |
withThreadName(String threadName) |
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 OceanBaseSqlException(String reason, String sql, String sqlState, Throwable cause)
public static OceanBaseSqlException of(SQLException cause, String sql)
public OceanBaseSqlException withThreadName(String threadName)
public OceanBaseSqlException withDeadLockInfo(String deadLockInfo)
public String getSql()
public String getThreadName()
public String getDeadLockInfo()
Copyright © 2022 oceanbase.com. All rights reserved.