パッケージ jakarta.jms
クラス IllegalStateRuntimeException
- java.lang.ObjectSE
-
- java.lang.ThrowableSE
-
- java.lang.ExceptionSE
-
- java.lang.RuntimeExceptionSE
-
- jakarta.jms.JMSRuntimeException
-
- jakarta.jms.IllegalStateRuntimeException
- 実装されているすべてのインターフェース:
SerializableSE
public class IllegalStateRuntimeException extends JMSRuntimeException
このチェックされていない例外は、メソッドが不正または不適切な時間に呼び出された場合、またはプロバイダーがリクエストされた操作に対して適切な状態になく、メソッドシグネチャーが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
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- この例外の根本的な原因