From 7341ead2aade10ea1b833e94275277658741883a Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Mon, 18 Aug 2025 21:09:11 +0200 Subject: switch to multi-module project structure --- lib/src/main/kotlin/except/UnknownVersionException.kt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/src/main/kotlin/except/UnknownVersionException.kt (limited to 'lib/src/main/kotlin/except/UnknownVersionException.kt') diff --git a/lib/src/main/kotlin/except/UnknownVersionException.kt b/lib/src/main/kotlin/except/UnknownVersionException.kt new file mode 100644 index 0000000..5023bc5 --- /dev/null +++ b/lib/src/main/kotlin/except/UnknownVersionException.kt @@ -0,0 +1,9 @@ +package except + +/** + * This exception is thrown when the remote server sent either an "unknown" version back during the version negotiation + * procedure or a version unknown to this client implementation. + * + * @param version The version sent by the server. + */ +class UnknownVersionException(val version: String) : Exception("Unknown version: $version") \ No newline at end of file -- cgit v1.2.3