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, Sam Brannen
- See Also:
- 
Field SummaryFields inherited from class org.springframework.transaction.interceptor.RollbackRuleAttributeROLLBACK_ON_ALL_EXCEPTIONS, ROLLBACK_ON_RUNTIME_EXCEPTIONS
- 
Constructor SummaryConstructorsConstructorDescriptionNoRollbackRuleAttribute(Class<?> exceptionType) Create a new instance of theNoRollbackRuleAttributeclass for the givenexceptionType.NoRollbackRuleAttribute(String exceptionPattern) Create a new instance of theNoRollbackRuleAttributeclass for the suppliedexceptionPattern.
- 
Method SummaryMethods inherited from class org.springframework.transaction.interceptor.RollbackRuleAttributeequals, getDepth, getExceptionName, hashCode
- 
Constructor Details- 
NoRollbackRuleAttributeCreate a new instance of theNoRollbackRuleAttributeclass for the givenexceptionType.- Parameters:
- exceptionType- exception type; must be- Throwableor a subclass of- Throwable
- Throws:
- IllegalArgumentException- if the supplied- exceptionTypeis not a- Throwabletype or is- null
- See Also:
 
- 
NoRollbackRuleAttributeCreate a new instance of theNoRollbackRuleAttributeclass for the suppliedexceptionPattern.- Parameters:
- exceptionPattern- the exception name pattern; can also be a fully package-qualified class name
- Throws:
- IllegalArgumentException- if the supplied- exceptionPatternis- nullor empty
- See Also:
 
 
- 
- 
Method Details- 
toString- Overrides:
- toStringin class- RollbackRuleAttribute
 
 
-