TrueZIP 6.8.2

de.schlichtherle.io
Class ContainsFileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.FileNotFoundException
                  extended by de.schlichtherle.io.ContainsFileException
All Implemented Interfaces:
Serializable

public class ContainsFileException
extends FileNotFoundException

Thrown if two paths are referring to the same file or contain each other. This exception is typically thrown from File.cp(java.io.InputStream, java.io.OutputStream).

Since:
TrueZIP 6.4
Version:
$Id: ContainsFileException.java 06f3ba684701 2010/11/04 01:15:55 christian $
Author:
Christian Schlichtherle
See Also:
Serialized Form

Field Summary
private  File ancestor
           
private  File descendant
           
 
Constructor Summary
ContainsFileException(File ancestor, File descendant)
          Creates a new instance of ContainsFileException.
 
Method Summary
 File getAncestor()
           
 File getDescendant()
           
 
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
 

Field Detail

ancestor

private final File ancestor

descendant

private final File descendant
Constructor Detail

ContainsFileException

public ContainsFileException(File ancestor,
                             File descendant)
Creates a new instance of ContainsFileException.

Method Detail

getAncestor

public File getAncestor()

getDescendant

public File getDescendant()

TrueZIP 6.8.2

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