spring-framework / org.springframework.transaction.interceptor / NoRollbackRuleAttribute / <init>

<init>

NoRollbackRuleAttribute(clazz: Class<*>)

Create a new instance of the NoRollbackRuleAttribute class for the supplied Throwable class.

Parameters

clazz - the Throwable class

See Also
RollbackRuleAttribute#RollbackRuleAttribute(Class)

NoRollbackRuleAttribute(exceptionName: String)

Create a new instance of the NoRollbackRuleAttribute class for the supplied exceptionName.

Parameters

exceptionName - the exception name pattern

See Also
RollbackRuleAttribute#RollbackRuleAttribute(String)