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