public boolean matchesThrowableStack(Throwable throwable) {
    if (stacktraceRegexes == null) {
      return false;
    }

    return throwableMatchesExpressions(getStackTraceAsString(throwable), stacktraceRegexes);
  }
More lenient version of {@link matchesThrowableTop} that checks not just for matches against
the top-level message in the stack that Throwable comprises, but for a match _anywhere_ in the
full stack trace.
portability-types-transfer/src/main/java/org/datatransferproject/types/transfer/retry/RetryMapping.java