|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.util.zip.ZipException
org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
public class UnsupportedZipFeatureException
Exception thrown when attempting to read or write data for a zip entry that uses ZIP features not supported by this library.
Nested Class Summary | |
---|---|
static class |
UnsupportedZipFeatureException.Feature
ZIP Features that may or may not be supported. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
ZipArchiveEntry |
getEntry()
The entry using the unsupported feature. |
UnsupportedZipFeatureException.Feature |
getFeature()
The unsupported feature that has been used. |
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 |
Constructor Detail |
---|
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 supportedMethod Detail |
---|
public UnsupportedZipFeatureException.Feature getFeature()
public ZipArchiveEntry getEntry()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |