diff options
Diffstat (limited to 'src/main/kotlin/TransportLayer.kt')
-rw-r--r-- | src/main/kotlin/TransportLayer.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/TransportLayer.kt b/src/main/kotlin/TransportLayer.kt index 8778592..bdfc04e 100644 --- a/src/main/kotlin/TransportLayer.kt +++ b/src/main/kotlin/TransportLayer.kt @@ -6,9 +6,9 @@ import java.io.Closeable * to send and receive network messages (also called "payloads"). * * The address of the remote endpoint can be an IP address (v4 or v6) or a domain name, in which case it is resolved to - * an IP address right before initializing the connection. Every constructor should throw an [UnresolvableHostException] - * if the remote address is formatted as an actual domain name, but it cannot be resolved (e.g. it doesn't exist, or it - * contains forbidden characters). + * an IP address right before initializing the connection. Every constructor should throw an + * [except.UnresolvableHostException] if the remote address is formatted as an actual domain name, but it cannot be + * resolved (e.g. it doesn't exist, or it contains forbidden characters). * * Depending on the specific given implementation, the constructor of this class might throw other exceptions (e.g. the * [java.net.Socket] constructor in [TransportLayerJavaNet]). |