org.apache.commons.compress.archivers.zip
public class UnsupportedZipFeatureException extends ZipException
Modifier and Type | Class and Description |
---|---|
static class |
UnsupportedZipFeatureException.Feature
ZIP Features that may or may not be supported.
|
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.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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()
Copyright © 2014 The Apache Software Foundation. All rights reserved.