public class ProtocolException extends IOException:
import klyn.net
try URL("ftp://example.com").toHttpRequest()
catch err as ProtocolException:
print(err.message)| Modifier and Type | Member | Description |
|---|---|---|
| public | ProtocolExceptionProtocolException(message as String = "Protocol error"): |
Creates a protocol exception. |