Interface ExceptionAnalyzer


@Beta public interface ExceptionAnalyzer
Analyzes vendor codes to identify particular exceptions, like timeout, unique and not null constraint violation exceptions.
  • Method Details

    • isUniqueConstraint

      boolean isUniqueConstraint(SQLException ex)
    • isNotNullConstraint

      boolean isNotNullConstraint(SQLException ex)
    • isLockTimeout

      boolean isLockTimeout(SQLException ex)
    • getRootCause

      static Throwable getRootCause(Throwable throwable)
      Returns the root cause of an exception
      Parameters:
      throwable - exception to walk through to a root cause
      Returns:
      root cause