Skip to content

Most visited

Recently visited

navigation
Added in API level 1

DataFormatException

public class DataFormatException
extends Exception

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.util.zip.DataFormatException


DataFormatException is used to indicate an error in the format of a particular data stream which is to be uncompressed.

Summary

Public constructors

DataFormatException()

Constructs a new DataFormatException instance.

DataFormatException(String detailMessage)

Constructs a new DataFormatException instance with the specified message.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

DataFormatException

Added in API level 1
DataFormatException ()

Constructs a new DataFormatException instance.

DataFormatException

Added in API level 1
DataFormatException (String detailMessage)

Constructs a new DataFormatException instance with the specified message.

Parameters
detailMessage String: the detail message for the exception.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.