Added in API level 1

DataFormatException

open class DataFormatException : Exception
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.util.zip.DataFormatException

Signals that a data format error has occurred.

Summary

Public constructors

Constructs a DataFormatException with no detail message.

Constructs a DataFormatException with the specified detail message.

Public constructors

DataFormatException

Added in API level 1
DataFormatException()

Constructs a DataFormatException with no detail message.

DataFormatException

Added in API level 1
DataFormatException(s: String!)

Constructs a DataFormatException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
s String!: the String containing a detail message