de.schlichtherle.io
Class ArchiveController.ArchiveEntryFalsePositiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.FileNotFoundException
de.schlichtherle.io.ArchiveController.FalsePositiveException
de.schlichtherle.io.ArchiveController.ArchiveEntryFalsePositiveException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ArchiveController.DirectoryArchiveEntryFalsePositiveException, ArchiveController.FileArchiveEntryFalsePositiveException
- Enclosing class:
- ArchiveController
abstract class ArchiveController.ArchiveEntryFalsePositiveException
- extends ArchiveController.FalsePositiveException
Thrown if a controller's target file is a false positive archive file
which actually exists as a plain file or directory in an enclosing
archive file.
Instances of this class are always associated with an
IOException as their cause.
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
enclController
private final ArchiveController enclController
enclEntryName
private final String enclEntryName
ArchiveController.ArchiveEntryFalsePositiveException
private ArchiveController.ArchiveEntryFalsePositiveException(ArchiveController enclController,
String enclEntryName,
IOException cause)
- Creates a new
ArchiveEntryFalsePositiveException.
- Parameters:
enclController - The controller in which the archive file
exists as a false positive.
This must be an enclosing controller.enclEntryName - The entry name which is a false positive
archive file.
null is not permitted.cause - The cause for this exception.
If this is an instance of TransientIOException,
then its transient cause is unwrapped and used as the cause
of this exception instead and
ArchiveController.FalsePositiveException.isCacheable() is set to return
false.
getEnclController
ArchiveController getEnclController()
- Returns the controller which's target file contains the
false positive archive file as an archive entry.
Never
null.
Note that this is not the same
getEnclEntryName
String getEnclEntryName()
- Returns the entry name of the false positive archive file.
Never
null.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.