org.apache.commons.compress.archivers.zip
Class UnsupportedZipFeatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.util.zip.ZipException
org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
- All Implemented Interfaces:
- java.io.Serializable
public class UnsupportedZipFeatureException
- extends java.util.zip.ZipException
Exception thrown when attempting to read or write data for a zip
entry that uses ZIP features not supported by this library.
- Since:
- Commons Compress 1.1
- See Also:
- Serialized Form
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 |
reason
private final UnsupportedZipFeatureException.Feature reason
entry
private final ZipArchiveEntry entry
UnsupportedZipFeatureException
public UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason,
ZipArchiveEntry entry)
- Creates an exception.
- Parameters:
reason
- the feature that is not supportedentry
- the entry using the feature
getFeature
public UnsupportedZipFeatureException.Feature getFeature()
- The unsupported feature that has been used.
getEntry
public ZipArchiveEntry getEntry()
- The entry using the unsupported feature.