From 1b4f96d554097e0839cd5e7562954692543abc84 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Mon, 11 Aug 2025 20:03:56 +0200 Subject: add throws to documentation of stat --- src/main/kotlin/ProtocolTranslator.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/ProtocolTranslator.kt') diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt index b1678a2..fee52f4 100644 --- a/src/main/kotlin/ProtocolTranslator.kt +++ b/src/main/kotlin/ProtocolTranslator.kt @@ -150,7 +150,8 @@ interface ProtocolTranslator { * * @param fid The FID of the file to inquire. * @return All the file attributes of the file associated with [fid]. - * + * @throws except.InvalidMessageException if the received message is invalid. + * @throws except.RErrorException if the received message is an R-error message. */ fun stat(fid: UInt): Stat -- cgit v1.2.3