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