public final class DirectoryIteratorException extends ConcurrentModificationException
IOException
using the getCause()
method.DirectoryStream
Constructor 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.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public DirectoryIteratorException(IOException cause)
cause
- the IOException
that caused the directory iteration
to failNullPointerException
- if the cause is null
public IOException getCause()
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.