de.schlichtherle.io
Class ContainsFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.FileNotFoundException
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:
- 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 |
ContainsFileException
public ContainsFileException(File ancestor,
File descendant)
- Creates a new instance of
ContainsFileException
.
getAncestor
public File getAncestor()
getDescendant
public File getDescendant()