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:
- Serializable
Exception 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:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classZIP Features that may or may not be supported.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an exception.
- 
Method SummaryModifier and TypeMethodDescriptiongetEntry()The entry using the unsupported feature.The unsupported feature that has been used.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
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 Details- 
getFeatureThe unsupported feature that has been used.- Returns:
- Feature
 
- 
getEntryThe entry using the unsupported feature.- Returns:
- ZipEntry
 
 
-