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 |
private static long |
serialVersionUID |
Constructor and Description |
---|
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason)
Creates an exception when the whole archive uses an unsupported
feature.
|
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason,
ZipArchiveEntry entry)
Creates an exception.
|
UnsupportedZipFeatureException(ZipMethod method,
ZipArchiveEntry entry)
Creates an exception for archives that use an unsupported
compression algorithm.
|
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 transient ZipArchiveEntry entry
private static final long serialVersionUID
public UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason, ZipArchiveEntry entry)
reason
- the feature that is not supportedentry
- the entry using the featurepublic UnsupportedZipFeatureException(ZipMethod method, ZipArchiveEntry entry)
method
- the method that is not supportedentry
- the entry using the featurepublic UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason)
reason
- the feature that is not supportedpublic UnsupportedZipFeatureException.Feature getFeature()
public ZipArchiveEntry getEntry()