org.apache.commons.compress.archivers.zip
public class UnsupportedZipFeatureException extends java.util.zip.ZipException
Modifier and Type | Class and Description |
---|---|
static class |
UnsupportedZipFeatureException.Feature
ZIP Features that may or may not be supported.
|
Modifier and Type | Field and Description |
---|---|
private ZipArchiveEntry |
entry |
private UnsupportedZipFeatureException.Feature |
reason |
Constructor and Description |
---|
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason,
ZipArchiveEntry entry)
Creates an exception.
|
Modifier and Type | Method and Description |
---|---|
ZipArchiveEntry |
getEntry()
The entry using the unsupported feature.
|
UnsupportedZipFeatureException.Feature |
getFeature()
The unsupported feature that has been used.
|
private final UnsupportedZipFeatureException.Feature reason
private final ZipArchiveEntry entry
public UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason, ZipArchiveEntry entry)
reason
- the feature that is not supportedentry
- the entry using the featurepublic UnsupportedZipFeatureException.Feature getFeature()
public ZipArchiveEntry getEntry()