Class NoRollbackRuleAttribute
- java.lang.Object
- org.springframework.transaction.interceptor.RollbackRuleAttribute
- org.springframework.transaction.interceptor.NoRollbackRuleAttribute
- All Implemented Interfaces:
Serializable
public class NoRollbackRuleAttribute extends RollbackRuleAttribute
Tag subclass ofRollbackRuleAttributethat has the opposite behavior to theRollbackRuleAttributesuperclass.- Since:
- 09.04.2003
- Author:
- Rod Johnson
- See Also:
- Serialized Form
Field Summary
Fields inherited from class org.springframework.transaction.interceptor.RollbackRuleAttribute
ROLLBACK_ON_RUNTIME_EXCEPTIONS
Constructor Summary
Constructors Constructor Description NoRollbackRuleAttribute(Class<?> clazz)Create a new instance of theNoRollbackRuleAttributeclass for the suppliedThrowableclass.NoRollbackRuleAttribute(String exceptionName)Create a new instance of theNoRollbackRuleAttributeclass for the suppliedexceptionName.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Methods inherited from class org.springframework.transaction.interceptor.RollbackRuleAttribute
equals, getDepth, getExceptionName, hashCode
Constructor Detail
NoRollbackRuleAttribute
public NoRollbackRuleAttribute(Class<?> clazz)
Create a new instance of theNoRollbackRuleAttributeclass for the suppliedThrowableclass.- Parameters:
clazz- theThrowableclass- See Also:
RollbackRuleAttribute(Class)
NoRollbackRuleAttribute
public NoRollbackRuleAttribute(String exceptionName)
Create a new instance of theNoRollbackRuleAttributeclass for the suppliedexceptionName.- Parameters:
exceptionName- the exception name pattern- See Also:
RollbackRuleAttribute(String)
Method Detail
toString
public String toString()
- Overrides:
toStringin classRollbackRuleAttribute