public class InputException extends IOException
IOException happened on the input side rather than
the output side when copying an InputStream to an OutputStream.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
InputException(IOException cause)
Constructs a new
InputException. |
| Modifier and Type | Method and Description |
|---|---|
IOException |
getCause()
Returns the
IOException provided as the cause when this
exception was created. |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
public InputException(IOException cause)
InputException.cause - A valid IOException.
This must not be null and must not be an instance
of FileNotFoundException in order to prevent masking it.IllegalArgumentException - If cause is an instance of
FileNotFoundException.public IOException getCause()
IOException provided as the cause when this
exception was created.getCause in class ThrowableIOException provided as the cause when this
exception was created.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.