de.schlichtherle.io
Class InputIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
de.schlichtherle.io.InputIOException
- All Implemented Interfaces:
- Serializable
public class InputIOException
- extends IOException
Thrown if an IOException
happened on the input side rather than
the output side when copying an InputStream to an OutputStream.
This exception is always initialized with an IOException
as
its cause, so it is safe to cast the return value of
Throwable.getCause()
to an IOException
.
- Version:
- TrueZIP 6.7
- Author:
- Christian Schlichtherle
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InputIOException
public InputIOException(IOException cause)
- Constructs a new
InputIOException
.
- Parameters:
cause
- A valid IOException
.
This must not be null
and must not be an instance
of FileNotFoundException
(which means that they cannot
not be masked).
- Throws:
IllegalArgumentException
- If cause
is an instance of
FileNotFoundException
.