クラス NoRollbackRuleAttribute

java.lang.ObjectSE
org.springframework.transaction.interceptor.RollbackRuleAttribute
org.springframework.transaction.interceptor.NoRollbackRuleAttribute
実装されたすべてのインターフェース:
SerializableSE

public class NoRollbackRuleAttribute extends RollbackRuleAttribute
RollbackRuleAttribute スーパークラスと逆の動作をする RollbackRuleAttribute のタグサブクラス。
導入:
09.04.2003
作成者:
Rod Johnson, Sam Brannen
関連事項:
  • コンストラクターの詳細

    • NoRollbackRuleAttribute

      public NoRollbackRuleAttribute(ClassSE<?> exceptionType)
      指定された exceptionType の NoRollbackRuleAttribute クラスの新しいインスタンスを作成します。
      パラメーター:
      exceptionType - 例外型。ThrowableSE または Throwable のサブクラスである必要があります
      例外:
      IllegalArgumentExceptionSE - 提供された exceptionType が Throwable 型ではない、または null である場合
      関連事項:
    • NoRollbackRuleAttribute

      public NoRollbackRuleAttribute(StringSE exceptionPattern)
      指定された exceptionPattern の NoRollbackRuleAttribute クラスの新しいインスタンスを作成します。
      パラメーター:
      exceptionPattern - 例外名パターン。完全にパッケージ修飾されたクラス名にすることもできます
      例外:
      IllegalArgumentExceptionSE - 指定された exceptionPattern が null または空の場合
      関連事項:
  • メソッドの詳細