public class GenericExceptionHandler extends java.lang.Object implements ExceptionHandler
| Constructor and Description |
|---|
GenericExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoginException(java.lang.String sqlState) |
boolean |
isLoginException(java.lang.Throwable throwable)
Deprecated.
|
boolean |
isLoginException(java.lang.Throwable throwable,
TargetDriverDialect targetDriverDialect) |
boolean |
isNetworkException(java.lang.String sqlState) |
boolean |
isNetworkException(java.lang.Throwable throwable)
Deprecated.
|
boolean |
isNetworkException(java.lang.Throwable throwable,
@Nullable TargetDriverDialect targetDriverDialect) |
@Deprecated public boolean isNetworkException(java.lang.Throwable throwable)
ExceptionHandlerisNetworkException in interface ExceptionHandlerthrowable - A throwable object to check.public boolean isNetworkException(java.lang.Throwable throwable,
@Nullable TargetDriverDialect targetDriverDialect)
isNetworkException in interface ExceptionHandlerpublic boolean isNetworkException(java.lang.String sqlState)
isNetworkException in interface ExceptionHandler@Deprecated public boolean isLoginException(java.lang.Throwable throwable)
ExceptionHandlerisLoginException in interface ExceptionHandlerthrowable - A throwable object to check.public boolean isLoginException(java.lang.Throwable throwable,
TargetDriverDialect targetDriverDialect)
isLoginException in interface ExceptionHandlerpublic boolean isLoginException(java.lang.String sqlState)
isLoginException in interface ExceptionHandler