Package org.apache.tools.zip
Class UnsupportedZipFeatureException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.io.IOException
- 
- java.util.zip.ZipException
- 
- org.apache.tools.zip.UnsupportedZipFeatureException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class UnsupportedZipFeatureException extends java.util.zip.ZipExceptionException thrown when attempting to read or write data for a zip entry that uses ZIP features not supported by this library.- Since:
- Ant 1.9.0
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUnsupportedZipFeatureException.FeatureZIP Features that may or may not be supported.
 - 
Constructor SummaryConstructors Constructor Description UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason, ZipEntry entry)Creates an exception.
 - 
Method SummaryModifier and Type Method Description ZipEntrygetEntry()The entry using the unsupported feature.UnsupportedZipFeatureException.FeaturegetFeature()The unsupported feature that has been used.
 
- 
- 
- 
Constructor Detail- 
UnsupportedZipFeatureExceptionpublic UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason, ZipEntry entry) Creates an exception.- Parameters:
- reason- the feature that is not supported
- entry- the entry using the feature
 
 
- 
 - 
Method Detail- 
getFeaturepublic UnsupportedZipFeatureException.Feature getFeature() The unsupported feature that has been used.- Returns:
- Feature
 
 - 
getEntrypublic ZipEntry getEntry() The entry using the unsupported feature.- Returns:
- ZipEntry
 
 
- 
 
-