de.schlichtherle.truezip.io
Class InputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
de.schlichtherle.truezip.io.InputException
- All Implemented Interfaces:
- Serializable
public class InputException
- extends IOException
Thrown if an IOException happened on the input side rather than
the output side when copying an InputStream to an OutputStream.
- Author:
- Christian Schlichtherle
- See Also:
- Serialized Form
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
InputException
public InputException(IOException cause)
- Constructs a new
InputException.
- Parameters:
cause - A valid IOException.
This must not be null and must not be an instance
of FileNotFoundException in order to prevent masking it.
- Throws:
IllegalArgumentException - If cause is an instance of
FileNotFoundException.
getCause
public IOException getCause()
- Returns the
IOException provided as the cause when this
exception was created.
- Overrides:
getCause in class Throwable
- Returns:
- The
IOException provided as the cause when this
exception was created.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.