クラス MethodFailureEvent

実装されているすべてのインターフェース:
SerializableSE
既知の直属サブクラス
MethodRetryEvent, MethodRollbackEvent

public class MethodFailureEvent extends ApplicationEvent
失敗したメソッド呼び出しを示すイベント。
導入:
7.0.3
作成者:
Juergen Hoeller
関連事項:
  • コンストラクターの詳細

    • MethodFailureEvent

      public MethodFailureEvent(MethodInvocation invocation, ThrowableSE failure)
      Create a new event for the given method invocation.
      パラメーター:
      invocation - メソッドの呼び出し
      failure - 発生した例外
  • メソッドの詳細

    • getSource

      public MethodInvocation getSource()
      このイベントをトリガーしたメソッド呼び出しを返します。
      オーバーライド:
      クラス EventObjectSEgetSource 
    • getMethod

      public MethodSE getMethod()
      Return the method that triggered this event.
    • getFailure

      public ThrowableSE getFailure()
      発生した例外を返します。
    • toString

      public StringSE toString()
      オーバーライド:
      クラス EventObjectSEtoString