public static class RuleBasedTransactionDefinition.NoRollbackRuleAttribute extends RuleBasedTransactionDefinition.RollbackRuleAttribute
RuleBasedTransactionDefinition.RollbackRuleAttribute that has the opposite behavior
to the RollbackRuleAttribute superclass.ROLLBACK_ON_RUNTIME_EXCEPTIONS| 构造器和说明 |
|---|
NoRollbackRuleAttribute(Class<?> clazz)
Create a new instance of the
NoRollbackRuleAttribute class
for the supplied Throwable class. |
NoRollbackRuleAttribute(String exceptionName)
Create a new instance of the
NoRollbackRuleAttribute class
for the supplied exceptionName. |
public NoRollbackRuleAttribute(Class<?> clazz)
NoRollbackRuleAttribute class
for the supplied Throwable class.clazz - the Throwable classRollbackRuleAttribute#RollbackRuleAttribute(Class)public NoRollbackRuleAttribute(String exceptionName)
NoRollbackRuleAttribute class
for the supplied exceptionName.exceptionName - the exception name patternRollbackRuleAttribute#RollbackRuleAttribute(String)public String toString()
Copyright © 2021. All rights reserved.