From e9d188ba3a53a815a50e8302e6282862406405d7 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Thu, 7 Aug 2025 20:11:32 +0200 Subject: move UnresolvableHostException to except package --- src/main/kotlin/TransportLayer.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin/TransportLayer.kt') 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]). -- cgit v1.2.3