List of usage examples for org.springframework.transaction.interceptor RollbackRuleAttribute getExceptionName
public String getExceptionName()
From source file:org.springframework.transaction.interceptor.RuleBasedTransactionAttribute.java
@Override public String toString() { StringBuilder result = getAttributeDescription(); if (this.rollbackRules != null) { for (RollbackRuleAttribute rule : this.rollbackRules) { String sign = (rule instanceof NoRollbackRuleAttribute ? PREFIX_COMMIT_RULE : PREFIX_ROLLBACK_RULE); result.append(',').append(sign).append(rule.getExceptionName()); }/*from w ww . j a v a2 s . c o m*/ } return result.toString(); }