TrueZIP Kernel 7.0-rc1

de.schlichtherle.truezip.io
Class InputException

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

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
InputException(IOException cause)
          Constructs a new InputException.
 
Method Summary
 IOException getCause()
          Returns the IOException provided as the cause when this exception was created.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

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.
Method Detail

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.

TrueZIP Kernel 7.0-rc1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.