Added in API level 1
ProtocolException
open class ProtocolException : IOException
| kotlin.Any | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.io.IOException | |||
| ↳ | java.net.ProtocolException | |||
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
Summary
| Public constructors | |
|---|---|
|
Constructs a new |
|
ProtocolException(message: String!)Constructs a new |
|
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. |