public void setPolicyMap ( Map < Class < ? extends Throwable > , RetryPolicy > policyMap ) { this . exceptionClassifier = new SubclassClassifier < Throwable , RetryPolicy > ( policyMap , new NeverRetryPolicy ( ) ) ; }
Setter for policy map used to create a classifier . Either this property or the exception classifier directly should be set but not both .