diff options
-rw-r--r-- | src/main/kotlin/Connection.kt | 3 | ||||
-rw-r--r-- | src/main/kotlin/ProtocolTranslator.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/except/RErrorException.kt (renamed from src/main/kotlin/RErrorException.kt) | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/main/kotlin/Connection.kt b/src/main/kotlin/Connection.kt index 4f920b7..61cbaae 100644 --- a/src/main/kotlin/Connection.kt +++ b/src/main/kotlin/Connection.kt @@ -1,4 +1,5 @@ import except.MsizeValueTooBigException +import except.RErrorException import java.io.IOException import java.math.BigInteger @@ -62,7 +63,7 @@ class Connection(transLay: TransportLayer) : ProtocolTranslator { * with no message, or non-empty with the error message) and (2) the optional [InMessage] instance (null if an error * occurred). * @throws except.InvalidMessageException if the received message is invalid. - * @throws RErrorException if the received message is an R-error message. + * @throws except.RErrorException if the received message is an R-error message. */ private fun checkedInMessage(reqTag: UShort): InMessage { val imsg = InMessage(this.tl, this.maxSize, reqTag) diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt index 9e5632b..ffa5f44 100644 --- a/src/main/kotlin/ProtocolTranslator.kt +++ b/src/main/kotlin/ProtocolTranslator.kt @@ -28,7 +28,7 @@ interface ProtocolTranslator { * 9P message. * @param version Should be "9P2000", which is the only defined value. * @throws except.InvalidMessageException if the received message is invalid. - * @throws RErrorException if the received message is an R-error message. + * @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. */ diff --git a/src/main/kotlin/RErrorException.kt b/src/main/kotlin/except/RErrorException.kt index 56fdebc..c15cbc2 100644 --- a/src/main/kotlin/RErrorException.kt +++ b/src/main/kotlin/except/RErrorException.kt @@ -1,3 +1,5 @@ +package except + /** * This exception represents an error sent by the remote server as an R-error message. * |