public class NotSupportedException extends ResourceException
NotSupportedException
は、操作がサポートされている機能ではないため、呼び出し先(システム契約のリソースアダプターまたはアプリケーションサーバー)が操作を実行できないことを示すためにスローされます。例: リソースアダプターのトランザクションサポートレベルが NO_TRANSACTION
の場合、ManagedConnection
オブジェクトで getXAResource
メソッドを呼び出すと、NotSupportedException
例外がスローされます。コンストラクターと説明 |
---|
NotSupportedException() 詳細メッセージとして null を使用して新しいインスタンスを構築します。 |
NotSupportedException(StringSE message) 指定された詳細メッセージで新しいインスタンスを構築します。 |
NotSupportedException(StringSE message, StringSE errorCode) 指定された詳細メッセージとエラーコードで新しいスロー可能オブジェクトを構築します。 |
NotSupportedException(StringSE message, ThrowableSE cause) 指定された詳細メッセージと原因を持つ新しいスロー可能オブジェクトを構築します。 |
NotSupportedException(ThrowableSE cause) 指定された原因で新しいスロー可能オブジェクトを構築します。 |
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public NotSupportedException()
public NotSupportedException(StringSE message)
message
- 詳細メッセージ。public NotSupportedException(ThrowableSE cause)
cause
- 型 Throwable
の連鎖例外。public NotSupportedException(StringSE message, ThrowableSE cause)
message
- 詳細メッセージ。cause
- 型 Throwable
の連鎖例外。Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.