List of usage examples for org.springframework.transaction.interceptor NoRollbackRuleAttribute NoRollbackRuleAttribute
public NoRollbackRuleAttribute(String exceptionName)
From source file:eap.config.TxAdviceBeanDefinitionParser.java
private void addNoRollbackRuleAttributesTo(List<RollbackRuleAttribute> rollbackRules, String noRollbackForValue) { String[] exceptionTypeNames = StringUtils.commaDelimitedListToStringArray(noRollbackForValue); for (String typeName : exceptionTypeNames) { rollbackRules.add(new NoRollbackRuleAttribute(StringUtils.trimWhitespace(typeName))); }/*from ww w . j a v a 2 s .c o m*/ }