Class NoRollbackRuleAttribute
java.lang.Object
org.springframework.transaction.interceptor.RollbackRuleAttribute
org.springframework.transaction.interceptor.NoRollbackRuleAttribute
- All Implemented Interfaces:
Serializable
Tag subclass of
RollbackRuleAttribute that has the opposite behavior
to the RollbackRuleAttribute superclass.- Since:
- 09.04.2003
- Author:
- Rod Johnson
- See Also:
-
Field Summary
Fields inherited from class org.springframework.transaction.interceptor.RollbackRuleAttribute
ROLLBACK_ON_RUNTIME_EXCEPTIONS -
Constructor Summary
ConstructorsConstructorDescriptionNoRollbackRuleAttribute(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
Methods inherited from class org.springframework.transaction.interceptor.RollbackRuleAttribute
equals, getDepth, getExceptionName, hashCode
-
Constructor Details
-
NoRollbackRuleAttribute
Create a new instance of theNoRollbackRuleAttributeclass for the suppliedThrowableclass.- Parameters:
clazz- theThrowableclass- See Also:
-
NoRollbackRuleAttribute
Create a new instance of theNoRollbackRuleAttributeclass for the suppliedexceptionName.- Parameters:
exceptionName- the exception name pattern- See Also:
-
-
Method Details
-
toString
- Overrides:
toStringin classRollbackRuleAttribute
-