public boolean matchesThrowable(Throwable throwable) {
    return matchesThrowableTop(throwable);
  }
Deprecated method to determine if throwable is matched by the config this class was constructed
with.

<ul>
  Deprecated in favor of {@link matchesThrowableTop} for old behavior, or more precisely:
  please use...
  <li>{@link matches} to handle either older style matching or new style matching, whichever
      the YAML dictates. This is the most likely correct choice.
  <li>{@link matchesThrowableTop} to handle either older style matching only.
  <li>{@link matchesThrowableStack} to handle only newer style matching (full stack trace).
</ul>
portability-types-transfer/src/main/java/org/datatransferproject/types/transfer/retry/RetryMapping.java