package com.liferay.portal.service;
import java.util.Map;
public class ExceptionRetryAcceptor implements RetryAcceptor {
public static final String EXCEPTION_NAME = "EXCEPTION_NAME";
@Override
<BUG>public boolean accept(

Object returnValue, Throwable t, Map<String, String> propertyMap) {
if (t == null) {
return false;
}</BUG>
String name = propertyMap.get(EXCEPTION_NAME);

package com.liferay.portal.service;
import java.util.Map;
public class ExceptionRetryAcceptor implements RetryAcceptor {
public static final String EXCEPTION_NAME = "EXCEPTION_NAME";
@Override
public boolean acceptException(
Throwable t, Map<String, String> propertyMap) {
String name = propertyMap.get(EXCEPTION_NAME);
