public class PostgresSqlQueryExceptionHandler extends QueryExceptionHandler
QueryExceptionHandler for PostgreSQL engine.| Constructor and Description |
|---|
PostgresSqlQueryExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRetryableException(SQLException exception)
Checks if an Exception occurred due to serialization failures in concurrent transactions and may be retried on
the client-side.
|
boolean |
isTimeoutException(SQLException exception)
Indicates if a given exception is a timeout.
|
handleException, isUniqueConstraintViolationExceptionpublic boolean isTimeoutException(SQLException exception)
QueryExceptionHandlerisTimeoutException in class QueryExceptionHandlerexception - The exception to check.true if the exception is a timeout, false otherwise.public boolean isRetryableException(SQLException exception)
QueryExceptionHandlerisRetryableException in class QueryExceptionHandlerexception - The exception to check.true if the exception is retryable, false otherwise.Copyright © 2023 Feedzai. All rights reserved.