Fix and improve Javadoc in spring-jdbc

Closes gh-28796
This commit is contained in:
Marc Wrobel
2022-07-12 14:25:16 +02:00
committed by Sam Brannen
parent b30eb6837c
commit bca104798b
28 changed files with 50 additions and 50 deletions

View File

@@ -90,7 +90,7 @@ public class SQLExceptionSubclassTranslatorTests {
assertThat(rdaex2.getCause()).isEqualTo(recoverableEx);
// Test classic error code translation. We should move there next if the exception we pass in is not one
// of the new sub-classes.
// of the new subclasses.
SQLException sexEct = new SQLException("", "", 1);
BadSqlGrammarException bsgEct = (BadSqlGrammarException) sext.translate("task", "SQL-ECT", sexEct);
assertThat(bsgEct.getSql()).isEqualTo("SQL-ECT");