Returns an array containing all of the exceptions that were
suppressed, typically by the try-with-resources
statement, in order to deliver this exception.
Constructs a new instance of IOError with the specified cause. The
IOError is created with the detail message of
(cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
Parameters
cause
The cause of this error, or null if the cause
is not known
[[["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."],[],["`IOError`, extending `Error`, is thrown for serious I/O errors. It can be constructed with a `Throwable` cause, specifying the root of the issue. Inherited methods allow manipulation of the error's stack trace (`fillInStackTrace`, `getStackTrace`, `setStackTrace`), message (`getMessage`, `getLocalizedMessage`), cause (`getCause`, `initCause`), and suppressed exceptions (`addSuppressed`, `getSuppressed`). It can also be printed with its stack trace to the error stream or a specified stream.\n"]]