パッケージ jakarta.faces.event

クラス ExceptionQueuedEvent

実装されているすべてのインターフェース:
SerializableSE

public class ExceptionQueuedEvent extends SystemEvent

システムイベントファシリティは、systemEventClass 引数として ExceptionQueuedEvent.class を指定して Application.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object) が呼び出されるたびに、このクラスのインスタンスを作成します。この場合、ExceptionQueuedEventContext のインスタンスを source 引数として渡す必要があります。publishEvent() の仕様では、systemEventClass 引数をインスタンス化し、source 引数をコンストラクターに渡す必要があります。

導入:
2.0
関連事項:
  • コンストラクターの詳細

    • ExceptionQueuedEvent

      public ExceptionQueuedEvent(ExceptionQueuedEventContext eventContext)

      引数 ExceptionQueuedEventContext が発生したことを示す新しい ExceptionQueuedEvent をインスタンス化します。

      パラメーター:
      eventContext - この ExceptionQueuedEvent をコンテキスト化する ExceptionQueuedEventContext 
      導入:
      2.0
    • ExceptionQueuedEvent

      public ExceptionQueuedEvent(FacesContext facesContext, ExceptionQueuedEventContext eventContext)

      引数 ExceptionQueuedEventContext が発生したことを示す新しい ExceptionQueuedEvent をインスタンス化します。

      パラメーター:
      facesContext - Faces コンテキスト。
      eventContext - この ExceptionQueuedEvent をコンテキスト化する ExceptionQueuedEventContext 
      導入:
      2.0
  • メソッドの詳細

    • getContext

      public ExceptionQueuedEventContext getContext()

      このイベントインスタンスの ExceptionQueuedEventContext を返します。

      戻り値:
      コンテキスト
      導入:
      2.0