public final class DirectoryIteratorException extends ConcurrentModificationException
getCause()メソッドを使用して、IOExceptionとして取得されます。DirectoryStream, 直列化された形式| コンストラクタと説明 |
|---|
DirectoryIteratorException(IOException cause)
このクラスのインスタンスを構築します。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
IOException |
getCause()
この例外の原因を返します。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DirectoryIteratorException(IOException cause)
cause - ディレクトリの反復処理を失敗させたIOExceptionNullPointerException - causeがnullの場合public IOException getCause()
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.