Package com.sap.cds.jdbc.spi
Interface ExceptionAnalyzer
@Beta
public interface ExceptionAnalyzer
Analyzes vendor codes to identify particular exceptions, like timeout, unique
and not null constraint violation exceptions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThrowablegetRootCause(Throwable throwable) Returns the root cause of an exceptionbooleanbooleanboolean
-
Method Details
-
isUniqueConstraint
-
isNotNullConstraint
-
isLockTimeout
-
getRootCause
Returns the root cause of an exception- Parameters:
throwable- exception to walk through to a root cause- Returns:
- root cause
-