クラス NoRollbackRuleAttribute
java.lang.ObjectSE
org.springframework.transaction.interceptor.RollbackRuleAttribute
org.springframework.transaction.interceptor.NoRollbackRuleAttribute
- 実装されたすべてのインターフェース:
SerializableSE
RollbackRuleAttribute
スーパークラスと逆の動作をする RollbackRuleAttribute
のタグサブクラス。- 導入:
- 09.04.2003
- 作成者:
- Rod Johnson, Sam Brannen
- 関連事項:
フィールドサマリー
クラス org.springframework.transaction.interceptor.RollbackRuleAttribute から継承されたフィールド
ROLLBACK_ON_ALL_EXCEPTIONS, ROLLBACK_ON_RUNTIME_EXCEPTIONS
コンストラクターのサマリー
コンストラクター説明NoRollbackRuleAttribute
(ClassSE<?> exceptionType) 指定されたexceptionType
のNoRollbackRuleAttribute
クラスの新しいインスタンスを作成します。NoRollbackRuleAttribute
(StringSE exceptionPattern) 指定されたexceptionPattern
のNoRollbackRuleAttribute
クラスの新しいインスタンスを作成します。方法の概要
クラス org.springframework.transaction.interceptor.RollbackRuleAttribute から継承されたメソッド
equals, getDepth, getExceptionName, hashCode
コンストラクターの詳細
NoRollbackRuleAttribute
指定されたexceptionType
のNoRollbackRuleAttribute
クラスの新しいインスタンスを作成します。- パラメーター:
exceptionType
- 例外型。Throwable
SE またはThrowable
のサブクラスである必要があります- 例外:
IllegalArgumentExceptionSE
- 提供されたexceptionType
がThrowable
型ではない、またはnull
である場合- 関連事項:
NoRollbackRuleAttribute
指定されたexceptionPattern
のNoRollbackRuleAttribute
クラスの新しいインスタンスを作成します。- パラメーター:
exceptionPattern
- 例外名パターン。完全にパッケージ修飾されたクラス名にすることもできます- 例外:
IllegalArgumentExceptionSE
- 指定されたexceptionPattern
がnull
または空の場合- 関連事項:
メソッドの詳細
toString
- オーバーライド:
- クラス
RollbackRuleAttribute
のtoString