パッケージ jakarta.jms
クラス IllegalStateRuntimeException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
jakarta.jms.JMSRuntimeException
jakarta.jms.IllegalStateRuntimeException
- 実装されているすべてのインターフェース:
SerializableSE
このチェックされていない例外は、メソッドが不正または不適切な時間に呼び出された場合、またはプロバイダーがリクエストされた操作に対して適切な状態になく、メソッドシグネチャーが
IllegalStateRuntimeException のスローを許可しない場合にスローされます。例: JMSContext.commit がトランザクションされていないセッションで呼び出された場合、この例外をスローする必要があります。- 導入:
- JMS 2.0
- バージョン:
- Jakarta Messaging 2.0
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明IllegalStateRuntimeException(StringSE detailMessage) 指定された詳細メッセージでIllegalStateRuntimeExceptionを構築しますIllegalStateRuntimeException(StringSE detailMessage, StringSE errorCode) 指定された詳細メッセージとエラーコードを使用してIllegalStateRuntimeExceptionを構築します。IllegalStateRuntimeException(StringSE detailMessage, StringSE errorCode, ThrowableSE cause) 指定された詳細メッセージ、エラーコード、原因を使用してIllegalStateRuntimeExceptionを構築します方法の概要
クラス jakarta.jms.JMSRuntimeException から継承されたメソッド
getErrorCodeクラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
IllegalStateRuntimeException
指定された詳細メッセージでIllegalStateRuntimeExceptionを構築します- パラメーター:
detailMessage- 例外の説明
IllegalStateRuntimeException
指定された詳細メッセージとエラーコードを使用してIllegalStateRuntimeExceptionを構築します。- パラメーター:
detailMessage- 例外の説明errorCode- プロバイダー固有のエラーコード
IllegalStateRuntimeException
指定された詳細メッセージ、エラーコード、原因を使用してIllegalStateRuntimeExceptionを構築します- パラメーター:
detailMessage- 例外の説明errorCode- プロバイダー固有のエラーコードcause- この例外の根本的な原因