SQLExceptionConverter that delegates to a chain of
SQLExceptionConversionDelegate.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StandardSQLExceptionConverter()
Deprecated
since 6.0. use
StandardSQLExceptionConverter(SQLExceptionConversionDelegate.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addDelegate(@Nullable SQLExceptionConversionDelegate delegate)
Deprecated
since 6.0. use
Add a delegate.
StandardSQLExceptionConverter(SQLExceptionConversionDelegate.
|
| public JDBCException | convert(SQLException
The sqlException, String SQLException to be convertedAn optional error message message, String The SQL statement that resulted in the exception sql)Implements org. SQLException to a subtype of
JDBCException.
|
| delegates | back to summary |
|---|---|
| private final List<SQLExceptionConversionDelegate> delegates | |
| StandardSQLExceptionConverter | back to summary |
|---|---|
| public StandardSQLExceptionConverter(SQLExceptionConversionDelegate... delegates) | |
| StandardSQLExceptionConverter | back to summary |
|---|---|
public StandardSQLExceptionConverter()
| |
| addDelegate | back to summary |
|---|---|
| public void addDelegate(@Nullable SQLExceptionConversionDelegate delegate)
Add a delegate.
| |
| convert | back to summary |
|---|---|
| public JDBCException convert(SQLException sqlException, String message, String sql) Implements org. Doc from org. Convert the given
| |