パッケージ jakarta.jms

クラス IllegalStateRuntimeException

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

public class IllegalStateRuntimeException extends JMSRuntimeException
このチェックされていない例外は、メソッドが不正または不適切な時間に呼び出された場合、またはプロバイダーがリクエストされた操作に対して適切な状態になく、メソッドシグネチャーが IllegalStateRuntimeException のスローを許可しない場合にスローされます。例: JMSContext.commit がトランザクションされていないセッションで呼び出された場合、この例外をスローする必要があります。
導入:
JMS 2.0
バージョン:
Jakarta Messaging 2.0
関連事項:
  • コンストラクターの詳細

    • IllegalStateRuntimeException

      public IllegalStateRuntimeException(StringSE detailMessage)
      指定された詳細メッセージで IllegalStateRuntimeException を構築します
      パラメーター:
      detailMessage - 例外の説明
    • IllegalStateRuntimeException

      public IllegalStateRuntimeException(StringSE detailMessage, StringSE errorCode)
      指定された詳細メッセージとエラーコードを使用して IllegalStateRuntimeException を構築します。
      パラメーター:
      detailMessage - 例外の説明
      errorCode - プロバイダー固有のエラーコード
    • IllegalStateRuntimeException

      public IllegalStateRuntimeException(StringSE detailMessage, StringSE errorCode, ThrowableSE cause)
      指定された詳細メッセージ、エラーコード、原因を使用して IllegalStateRuntimeException を構築します
      パラメーター:
      detailMessage - 例外の説明
      errorCode - プロバイダー固有のエラーコード
      cause - この例外の根本的な原因