diff options
Diffstat (limited to 'src/main/kotlin/UnknownVersionException.kt')
-rw-r--r-- | src/main/kotlin/UnknownVersionException.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/kotlin/UnknownVersionException.kt b/src/main/kotlin/UnknownVersionException.kt new file mode 100644 index 0000000..1f88a73 --- /dev/null +++ b/src/main/kotlin/UnknownVersionException.kt @@ -0,0 +1,7 @@ +/** + * 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 |