Package org.mariadb.jdbc.export
Class ExceptionFactory.SqlExceptionFactory
- java.lang.Object
-
- org.mariadb.jdbc.export.ExceptionFactory
-
- org.mariadb.jdbc.export.ExceptionFactory.SqlExceptionFactory
-
- Enclosing class:
- ExceptionFactory
public class ExceptionFactory.SqlExceptionFactory extends ExceptionFactory
Exception with SQL command
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mariadb.jdbc.export.ExceptionFactory
ExceptionFactory.SqlExceptionFactory
-
-
Constructor Summary
Constructors Constructor Description SqlExceptionFactory(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, Statement statement, String sql)
Constructor of Exception factory with SQL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSql()
get SQL command-
Methods inherited from class org.mariadb.jdbc.export.ExceptionFactory
create, create, create, create, createBatchUpdate, createBatchUpdate, notSupported, of, setConnection, setConnection, setPoolConnection, setThreadId, withSql
-
-
-
-
Constructor Detail
-
SqlExceptionFactory
public SqlExceptionFactory(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, Statement statement, String sql)
Constructor of Exception factory with SQL- Parameters:
connection
- connectionpoolConnection
- pool connectionconf
- configurationhostAddress
- hostthreadId
- connection thread idstatement
- statementsql
- sql
-
-
Method Detail
-
getSql
public String getSql()
Description copied from class:ExceptionFactory
get SQL command- Overrides:
getSql
in classExceptionFactory
- Returns:
- sql command
-
-