summaryrefslogtreecommitdiff
path: root/src/main/kotlin/except/UnaccessibleFileException.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/except/UnaccessibleFileException.kt')
-rw-r--r--src/main/kotlin/except/UnaccessibleFileException.kt11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/kotlin/except/UnaccessibleFileException.kt b/src/main/kotlin/except/UnaccessibleFileException.kt
deleted file mode 100644
index 07d5d13..0000000
--- a/src/main/kotlin/except/UnaccessibleFileException.kt
+++ /dev/null
@@ -1,11 +0,0 @@
-package except
-
-/**
- * This exception is thrown when the file that the client is trying to open (or walk through, in case of a directory)
- * cannot be accessed.
- *
- * @param path The path, as a list of path elements, that the client tried to access, up to and including the first
- * element that cannot be accessed (e.g. if the path the user wants to access is `["usr", "foo", "bar", "zib"]` but
- * `bar` does not exist, then [path] must be `["usr", "foo", "bar"]`).
- */
-class UnaccessibleFileException(val path: List<String>) : Exception("Could not walk to file ${path.joinToString(separator = "/")}.") \ No newline at end of file