public final class DirectoryIteratorException extends ConcurrentModificationException
IOException using the
getCause() method.
DirectoryStream,
Serialized Form
| Constructor and Description |
|---|
DirectoryIteratorException(IOException
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
IOException |
getCause()
Returns the cause of this exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DirectoryIteratorException(IOExceptioncause)
cause - the
IOException that caused the directory iteration to fail
NullPointerException - if the cause is
null
public IOExceptiongetCause()