spring-framework / org.springframework.jdbc.support / SQLExceptionSubclassTranslator

SQLExceptionSubclassTranslator

open class SQLExceptionSubclassTranslator : AbstractFallbackSQLExceptionTranslator

SQLExceptionTranslator implementation which analyzes the specific java.sql.SQLException subclass thrown by the JDBC driver.

Falls back to a standard SQLStateSQLExceptionTranslator if the JDBC driver does not actually expose JDBC 4 compliant SQLException subclasses.

Author
Thomas Risberg

Author
Juergen Hoeller

Since
2.5

See Also
java.sql.SQLTransientExceptionjava.sql.SQLTransientExceptionjava.sql.SQLRecoverableException

Constructors

<init>

SQLExceptionSubclassTranslator()