de.schlichtherle.io
Class InputIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Constructor Summary
InputIOException(IOException cause)
          Constructs a new InputIOException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.