public class ExceptionRetryAcceptor extends Object implements RetryAcceptor
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_NAME |
Constructor and Description |
---|
ExceptionRetryAcceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptException(Throwable t,
Map<String,String> propertyMap) |
boolean |
acceptResult(Object returnValue,
Map<String,String> propertyMap) |
public static final String EXCEPTION_NAME
public boolean acceptException(Throwable t, Map<String,String> propertyMap)
acceptException
in interface RetryAcceptor
public boolean acceptResult(Object returnValue, Map<String,String> propertyMap)
acceptResult
in interface RetryAcceptor