Package org.springframework.jdbc
Class UncategorizedSQLException
- All Implemented Interfaces:
- Serializable
Exception thrown when we can't classify an SQLException into
 one of our generic data access exceptions.
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionUncategorizedSQLException(String task, @Nullable String sql, SQLException ex) Constructor for UncategorizedSQLException.
- 
Method SummaryModifier and TypeMethodDescriptiongetSql()Return the SQL that led to the problem (if known).Return the underlying SQLException.Methods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
UncategorizedSQLExceptionConstructor for UncategorizedSQLException.- Parameters:
- task- name of current task
- sql- the offending SQL statement
- ex- the root cause
 
 
- 
- 
Method Details- 
getSQLExceptionReturn the underlying SQLException.
- 
getSqlReturn the SQL that led to the problem (if known).
 
-