public class AppendableIOException extends RuntimeException
IOException
used in a context where the
Appendable.append(java.lang.CharSequence)
operation throws an IOException. Since most uses of
methods that take an Appendable
will operate on
StringBuilder
s, for which an IOException is never thrown, it is
desirable for calling code not to have to catch and handle
IOException
. Therefore any IOException
from
invoking append on a different Appendable
implementation is
caught and thrown as this unchecked type.Constructor and Description |
---|
AppendableIOException(IOException ioe) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AppendableIOException(IOException ioe)
Copyright © 2025 Open Identity Platform Community. All rights reserved.