We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3358f2d commit 60e32c5Copy full SHA for 60e32c5
src/main/java/org/cryptomator/integrations/mount/Mount.java
@@ -1,5 +1,7 @@
1
package org.cryptomator.integrations.mount;
2
3
+import java.io.IOException;
4
+
5
/**
6
* Handle to control the lifecycle of a mounted file system.
7
* <p>
@@ -34,7 +36,13 @@ default void unmountForced() throws UnmountFailedException {
34
36
throw new UnsupportedOperationException();
35
37
}
38
- default void close() throws UnmountFailedException {
39
+ /**
40
+ * Unmounts (if required) and releases any resources.
41
+ *
42
+ * @throws UnmountFailedException Thrown if unmounting failed
43
+ * @throws IOException Thrown if cleaning up resources failed
44
+ */
45
+ default void close() throws UnmountFailedException, IOException {
46
unmount();
47
48
0 commit comments