Package java.util.zip

Class DataFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.util.zip.DataFormatException
All Implemented Interfaces:
Serializable

public class DataFormatException
extends Exception
DataFormatException is used to indicate an error in the format of a particular data stream which is to be uncompressed.
See Also:
Serialized Form
  • Constructor Details

    • DataFormatException

      public DataFormatException()
      Constructs a new DataFormatException instance.
    • DataFormatException

      public DataFormatException​(String detailMessage)
      Constructs a new DataFormatException instance with the specified message.
      Parameters:
      detailMessage - the detail message for the exception.