#

| Chapter 31 The java.util.zip Package |

## 31.6 java.util.zip.DataFormatException (JDK 1.1)

###

Signals that invalid or corrupt data has been encountered while uncompressing data.

    public class DataFormatException extends Exception {
        // Public Constructors
                public DataFormatException();
                public DataFormatException(String s);
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->DataFormatException

### Thrown By:

Inflater.inflate()

java.util.zip.CRC32 (JDK 1.1) |  | java.util.zip.Deflater (JDK 1.1)