public class NestedIOException extends IOExceptionSE
IOExceptionSE のサブクラス。Java 6 の標準 IOException に適切な根本原因処理が追加されたため、Spring は Java 6 より前のバージョンとの互換性のために NestedIOException を最初に導入しました。
このクラスは IOException から派生する必要があるため、このクラスと NestedChecked/RuntimeException クラスの類似性は避けられません。
getMessage(), Throwable.printStackTrace()SE, NestedCheckedException, NestedRuntimeException, 連載形式 | コンストラクターと説明 |
|---|
NestedIOException(StringSE msg) 指定された詳細メッセージを使用して NestedIOException を作成します。 |
NestedIOException(StringSE msg, ThrowableSE cause) 指定された詳細メッセージとネストされた例外を使用して NestedIOException を構築します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getMessage() ネストされた例外がある場合は、その例外からのメッセージを含む詳細メッセージを返します。 |
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic NestedIOException(StringSE msg)
NestedIOException を作成します。msg - 詳細メッセージ public NestedIOException(@Nullable StringSE msg, @Nullable ThrowableSE cause)
NestedIOException を構築します。msg - 詳細メッセージ cause - ネストされた例外 @Nullable public StringSE getMessage()
ThrowableSE の getMessageSE