Class MariaDbSqlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException
- All Implemented Interfaces:
Serializable
,Iterable<Throwable>
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMariaDbSqlException
(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) -
Method Summary
Modifier and TypeMethodDescriptiongetSql()
static MariaDbSqlException
of
(SQLException cause, String sql) withDeadLockInfo
(String deadLockInfo) withThreadName
(String threadName) Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
sql
-
threadName
-
deadLockInfo
-
-
Constructor Details
-
MariaDbSqlException
-
MariaDbSqlException
-
MariaDbSqlException
-
-
Method Details
-
of
-
withThreadName
-
withDeadLockInfo
-
getSql
-
getThreadName
-
getDeadLockInfo
-