public class SQLStatementException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected String |
statement
String that contains a SQL Statement.
|
| Constructor and Description |
|---|
SQLStatementException(SQLException t,
String statement)
Constructs a new SQLStatementException adding to the SQLException the SQL
Statement that has caused the exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSQLStatement()
Returns the SQL Statement
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String statement
public SQLStatementException(SQLException t, String statement)
t - The SQLException.statement - String with the SQL Statement.public String getSQLStatement()
String with the SQL Statement.Copyright © 2016 Imatia Innovation S.L.. All rights reserved.