Class UnsupportedZipFeatureException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsupportedZipFeatureException
    extends java.util.zip.ZipException
    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:
    Serialized Form
    • Constructor Detail

      • UnsupportedZipFeatureException

        public 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

      • getEntry

        public ZipEntry getEntry()
        The entry using the unsupported feature.
        Returns:
        ZipEntry