org.springframework.transaction.interceptor

Class NoRollbackRuleAttribute

  • All Implemented Interfaces:
    java.io.Serializable


    public class NoRollbackRuleAttribute
    extends RollbackRuleAttribute
    Tag subclass of RollbackRuleAttribute that has the opposite behavior to the RollbackRuleAttribute superclass.
    Since:
    09.04.2003
    Author:
    Rod Johnson
    See Also:
    Serialized Form
    • Constructor Detail

      • NoRollbackRuleAttribute

        public NoRollbackRuleAttribute(java.lang.Class<?> clazz)
        Create a new instance of the NoRollbackRuleAttribute class for the supplied Throwable class.
        Parameters:
        clazz - the Throwable class
        See Also:
        RollbackRuleAttribute.RollbackRuleAttribute(Class)
      • NoRollbackRuleAttribute

        public NoRollbackRuleAttribute(java.lang.String exceptionName)
        Create a new instance of the NoRollbackRuleAttribute class for the supplied exceptionName.
        Parameters:
        exceptionName - the exception name pattern
        See Also:
        RollbackRuleAttribute.RollbackRuleAttribute(String)