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.
Returns an array containing all of the exceptions that were
suppressed, typically by the try-with-resources
statement, in order to deliver this exception.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`DirectoryIteratorException` is a runtime exception thrown during directory iteration when an I/O error occurs. It extends `ConcurrentModificationException`. An `IOException` is the cause, retrievable via `getCause()`. Constructing this exception requires the `IOException` that triggered it. Key methods, inherited from `Throwable`, include: managing the stack trace with `getStackTrace()` and `printStackTrace()`; managing supressed exceptions with `getSuppressed()` and `addSuppressed()` and managing the cause with `getCause()` and `initCause()`.\n"]]