public class SQLServerQueryExceptionHandler extends QueryExceptionHandler
QueryExceptionHandler for SQLServer engine.| Constructor and Description |
|---|
SQLServerQueryExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUniqueConstraintViolationException(SQLException exception)
Checks if an Exception occurred due to a unique constraint violation.
|
handleException, isRetryableException, isTimeoutExceptionpublic boolean isUniqueConstraintViolationException(SQLException exception)
QueryExceptionHandlerisUniqueConstraintViolationException in class QueryExceptionHandlerexception - The exception to check.true if the exception is a unique constraint violation, false otherwise.Copyright © 2023 Feedzai. All rights reserved.