Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.util.ConcurrentModificationException java.nio.file.DirectoryIteratorException
public final class DirectoryIteratorException extends ConcurrentModificationException
Runtime exception thrown if an I/O error is encountered when iterating over
the entries in a directory. The I/O error is retrieved as an IOException
using the getCause()
method.
DirectoryStream
,
Serialized FormConstructor and Description |
---|
DirectoryIteratorException(IOException cause)
Constructs an instance of this class. |
Modifier and Type | Method and Description |
---|---|
IOException |
getCause()
Returns the cause of this exception. |
Methods inherited from class java.lang.Throwable |
---|
addSuppressedException, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirectoryIteratorException(IOException cause)
cause
- the IOException
that caused the directory iteration
to failNullPointerException
- if the cause is null
Method Detail |
---|
public IOException getCause()
getCause
in class Throwable
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.