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
ConstructorDescriptionNoRollbackRuleAttribute
(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
. -
Method Summary
Methods inherited from class org.springframework.transaction.interceptor.RollbackRuleAttribute
equals, getDepth, getExceptionName, hashCode
-
Constructor Details
-
NoRollbackRuleAttribute
Create a new instance of theNoRollbackRuleAttribute
class for the suppliedThrowable
class.- Parameters:
clazz
- theThrowable
class- See Also:
-
NoRollbackRuleAttribute
Create a new instance of theNoRollbackRuleAttribute
class for the suppliedexceptionName
.- Parameters:
exceptionName
- the exception name pattern- See Also:
-
-
Method Details
-
toString
- Overrides:
toString
in classRollbackRuleAttribute
-