public class OceanBaseSqlException extends SQLException
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2024 oceanbase.com. All rights reserved.