Added in API level 1

ProtocolException

open class ProtocolException : IOException

Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.

Summary

Public constructors

Constructs a new ProtocolException with no detail message.

Constructs a new ProtocolException with the specified detail message.

Public constructors

ProtocolException

Added in API level 1
ProtocolException()

Constructs a new ProtocolException with no detail message.

ProtocolException

Added in API level 1
ProtocolException(message: String!)

Constructs a new ProtocolException with the specified detail message.

Parameters
message String!: the detail message.