public final class DirectoryIteratorException extends ConcurrentModificationException
getCause()方法
IOException。
DirectoryStream,
Serialized Form
| Constructor and Description |
|---|
DirectoryIteratorException(IOException cause)
构造这个类的一个实例。
|
| Modifier and Type | Method and Description |
|---|---|
IOException |
getCause()
返回此异常的原因。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DirectoryIteratorException(IOException cause)
cause -导致目录迭代失败的
IOException
NullPointerException -如果原因是
null
public IOException getCause()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.