diff options
author | Edoardo La Greca | 2025-08-07 20:09:15 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-08-07 20:09:15 +0200 |
commit | eedbc01c3b7f1bfef1ccc341574278e0289879ae (patch) | |
tree | cdb8a457e71cc2783fd4e045ed0e6760f1cfcad8 /src/main/kotlin/except | |
parent | 9bf06f0575e2552cf6dfebb057e5b799ead4ea9f (diff) |
move UnknownVersionException to except package
Diffstat (limited to 'src/main/kotlin/except')
-rw-r--r-- | src/main/kotlin/except/UnknownVersionException.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/kotlin/except/UnknownVersionException.kt b/src/main/kotlin/except/UnknownVersionException.kt new file mode 100644 index 0000000..5023bc5 --- /dev/null +++ b/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 |