public class NoRollbackRuleAttribute extends RollbackRuleAttribute
RollbackRuleAttribute
that has the opposite behavior
to the RollbackRuleAttribute
superclass.ROLLBACK_ON_RUNTIME_EXCEPTIONS
Constructor and Description |
---|
NoRollbackRuleAttribute(Class<?> clazz)
Create a new instance of the
NoRollbackRuleAttribute class
for the supplied Throwable class. |
NoRollbackRuleAttribute(String exceptionName)
Create a new instance of the
NoRollbackRuleAttribute class
for the supplied exceptionName . |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, getDepth, getExceptionName, hashCode
public NoRollbackRuleAttribute(Class<?> clazz)
NoRollbackRuleAttribute
class
for the supplied Throwable
class.clazz
- the Throwable
classRollbackRuleAttribute.RollbackRuleAttribute(Class)
public NoRollbackRuleAttribute(String exceptionName)
NoRollbackRuleAttribute
class
for the supplied exceptionName
.exceptionName
- the exception name patternRollbackRuleAttribute.RollbackRuleAttribute(String)
public String toString()
toString
in class RollbackRuleAttribute