diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/Connection.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/ProtocolTranslator.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/except/UnknownVersionException.kt (renamed from src/main/kotlin/UnknownVersionException.kt) | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/Connection.kt b/src/main/kotlin/Connection.kt index 61cbaae..911cb93 100644 --- a/src/main/kotlin/Connection.kt +++ b/src/main/kotlin/Connection.kt @@ -1,5 +1,6 @@ import except.MsizeValueTooBigException import except.RErrorException +import except.UnknownVersionException import java.io.IOException import java.math.BigInteger diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt index ffa5f44..68dde3e 100644 --- a/src/main/kotlin/ProtocolTranslator.kt +++ b/src/main/kotlin/ProtocolTranslator.kt @@ -30,7 +30,7 @@ interface ProtocolTranslator { * @throws except.InvalidMessageException if the received message is invalid. * @throws except.RErrorException if the received message is an R-error message. * @throws except.MsizeValueTooBigException if the received `msize` value is bigger than what the client requested. - * @throws UnknownVersionException if the version negotiation failed. + * @throws except.UnknownVersionException if the version negotiation failed. */ fun version(msize: UInt, version: String) diff --git a/src/main/kotlin/UnknownVersionException.kt b/src/main/kotlin/except/UnknownVersionException.kt index 1f88a73..5023bc5 100644 --- a/src/main/kotlin/UnknownVersionException.kt +++ b/src/main/kotlin/except/UnknownVersionException.kt @@ -1,3 +1,5 @@ +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. |