summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-11 20:03:56 +0200
committerEdoardo La Greca2025-08-11 20:03:56 +0200
commit1b4f96d554097e0839cd5e7562954692543abc84 (patch)
tree94e3e5d15b32bc237e918b2c17992fd67b01ef5f
parentdc223aa490efd9706fed6e499131e52496dad1a3 (diff)
add throws to documentation of stat
-rw-r--r--src/main/kotlin/ProtocolTranslator.kt3
1 files changed, 2 insertions, 1 deletions
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