class ClassifierSimpleRetryPolicy extends SimpleRetryPolicy {

    @Override
    public boolean canRetry(RetryContext context) {
        Throwable t = context.getLastThrowable();
        return (t == null || classify(t)) && context.getRetryCount() < getMaxAttempts();
    }

    public  ClassifierSimpleRetryPolicy();
    public  ClassifierSimpleRetryPolicy(int maxAttempts);
    public  ClassifierSimpleRetryPolicy(Classifier<Throwable, Boolean> classifier);
    public  ClassifierSimpleRetryPolicy(int maxAttempts, Classifier<Throwable, Boolean> classifier);

}