public class UncategorizedSQLException extends UncategorizedDataAccessException
| Constructor and Description |
|---|
UncategorizedSQLException(java.lang.String task,
java.lang.String sql,
java.sql.SQLException ex)
Constructor for UncategorizedSQLException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSql()
Return the SQL that led to the problem (if known).
|
java.sql.SQLException |
getSQLException()
Return the underlying SQLException.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic UncategorizedSQLException(java.lang.String task,
@Nullable
java.lang.String sql,
java.sql.SQLException ex)
task - name of current tasksql - the offending SQL statementex - the root causepublic java.sql.SQLException getSQLException()
@Nullable public java.lang.String getSql()