类 NoRollbackRuleAttribute
- java.lang.Object
- org.springframework.transaction.interceptor.RollbackRuleAttribute
- org.springframework.transaction.interceptor.NoRollbackRuleAttribute
- 所有已实现的接口:
Serializable
public class NoRollbackRuleAttribute extends RollbackRuleAttribute
Tag subclass ofRollbackRuleAttribute
that has the opposite behavior to theRollbackRuleAttribute
superclass.- 从以下版本开始:
- 09.04.2003
- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
字段概要
从类继承的字段 org.springframework.transaction.interceptor.RollbackRuleAttribute
ROLLBACK_ON_RUNTIME_EXCEPTIONS
构造器概要
构造器 构造器 说明 NoRollbackRuleAttribute(Class<?> clazz)
Create a new instance of theNoRollbackRuleAttribute
class for the suppliedThrowable
class.NoRollbackRuleAttribute(String exceptionName)
Create a new instance of theNoRollbackRuleAttribute
class for the suppliedexceptionName
.
构造器详细资料
NoRollbackRuleAttribute
public NoRollbackRuleAttribute(Class<?> clazz)
Create a new instance of theNoRollbackRuleAttribute
class for the suppliedThrowable
class.- 参数:
clazz
- theThrowable
class- 另请参阅:
RollbackRuleAttribute(Class)
NoRollbackRuleAttribute
public NoRollbackRuleAttribute(String exceptionName)
Create a new instance of theNoRollbackRuleAttribute
class for the suppliedexceptionName
.- 参数:
exceptionName
- the exception name pattern- 另请参阅:
RollbackRuleAttribute(String)
方法详细资料
toString
public String toString()
- 覆盖:
toString
在类中RollbackRuleAttribute