TrueZIP 6.8.3

de.schlichtherle.io
Class ArchiveController.ArchiveEntryFalsePositiveException

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.ArchiveController.FalsePositiveException
                      extended by 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.


Field Summary
private  ArchiveController enclController
           
private  String enclEntryName
           
 
Constructor Summary
private ArchiveController.ArchiveEntryFalsePositiveException(ArchiveController enclController, String enclEntryName, IOException cause)
          Creates a new ArchiveEntryFalsePositiveException.
 
Method Summary
(package private)  ArchiveController getEnclController()
          Returns the controller which's target file contains the false positive archive file as an archive entry.
(package private)  String getEnclEntryName()
          Returns the entry name of the false positive archive file.
 
Methods inherited from class de.schlichtherle.io.ArchiveController.FalsePositiveException
getController, isCacheable
 
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

enclController

private final ArchiveController enclController

enclEntryName

private final String enclEntryName
Constructor Detail

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

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.


TrueZIP 6.8.3

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