SQLErrorCodeSQLExceptionTranslator
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | |
| public Class | |
| public void | |
| public void |
| errorCodes | back to summary |
|---|---|
| private String[] errorCodes | |
| exceptionClass | back to summary |
|---|---|
| private Class<?> exceptionClass
| |
| CustomSQLErrorCodesTranslation | back to summary |
|---|---|
| public CustomSQLErrorCodesTranslation() | |
| getErrorCodes | back to summary |
|---|---|
| public String[] getErrorCodes() Return the SQL error codes to match. | |
| getExceptionClass | back to summary |
|---|---|
| public Class Return the exception class for the specified error codes.
| |
| setErrorCodes | back to summary |
|---|---|
| public void setErrorCodes(String... errorCodes) Set the SQL error codes to match. | |
| setExceptionClass | back to summary |
|---|---|
| public void setExceptionClass(Class<?> exceptionClass) Set the exception class for the specified error codes. | |