org.springframework.transaction.interceptor
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 class. Its class means it has the opposite behaviour to the
RollbackRule superclass.
- Since:
- 09-Apr-2003
- Author:
- Rod Johnson
- See Also:
- Serialized Form
NoRollbackRuleAttribute
public NoRollbackRuleAttribute(Class clazz)
- Constrct a new NoRollbackRule for the given throwable class.
- Parameters:
clazz - throwable class
NoRollbackRuleAttribute
public NoRollbackRuleAttribute(String exceptionName)
- Construct a new NoRollbackRule for the given exception name.
This can be a substring, with no wildcard support at present.
A value of "ServletException" would match ServletException and
subclasses, for example.
- Parameters:
exceptionName - the exception pattern
toString
public String toString()
- Overrides:
toString in class RollbackRuleAttribute
Copyright (C) 2003-2004 The Spring Framework Project.