private static RetryCondition shouldRetryAbortedException()

in aws-codeguruprofiler-profilinggroup/src/main/java/software/amazon/codeguruprofiler/profilinggroup/CodeGuruProfilerClientBuilder.java [34:38]


    private static RetryCondition shouldRetryAbortedException() {
        return (RetryPolicyContext c) ->
                   c.exception().getCause() != null &&
                       c.exception().getCause().getClass().equals(AbortedException.class);
    }