public class UncheckedIOException extends RuntimeException
IOExceptionを非チェック例外でラップします。| コンストラクタと説明 |
|---|
UncheckedIOException(IOException cause)
このクラスのインスタンスを構築します。
|
UncheckedIOException(String message, IOException cause)
このクラスのインスタンスを構築します。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
IOException |
getCause()
この例外の原因を返します。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UncheckedIOException(String message, IOException cause)
message - 詳細メッセージ、nullも可cause - IOExceptionNullPointerException - causeがnullの場合public UncheckedIOException(IOException cause)
cause - IOExceptionNullPointerException - causeがnullの場合public IOException getCause()
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.