From 84fbf7392b6232a638680846189582bd0bb38be4 Mon Sep 17 00:00:00 2001 From: JaniruTEC Date: Tue, 18 Aug 2020 16:55:14 +0200 Subject: [PATCH] Updated usage of FuseNotSupportedException --- .../main/java/org/cryptomator/common/vaults/FuseVolume.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/commons/src/main/java/org/cryptomator/common/vaults/FuseVolume.java b/main/commons/src/main/java/org/cryptomator/common/vaults/FuseVolume.java index c15f73e4b..ad5128570 100644 --- a/main/commons/src/main/java/org/cryptomator/common/vaults/FuseVolume.java +++ b/main/commons/src/main/java/org/cryptomator/common/vaults/FuseVolume.java @@ -41,7 +41,7 @@ public class FuseVolume implements Volume { } @Override - public void mount(CryptoFileSystem fs, String mountFlags) throws InvalidMountPointException, FuseNotSupportedException, VolumeException { + public void mount(CryptoFileSystem fs, String mountFlags) throws InvalidMountPointException, VolumeException { this.mountPoint = determineMountPoint(); mount(fs.getPath("/"), mountFlags); @@ -71,7 +71,7 @@ public class FuseVolume implements Volume { .withFlags(splitFlags(mountFlags)).withMountPoint(mountPoint) // .build(); this.fuseMnt = mounter.mount(root, envVars); - } catch (CommandFailedException e) { + } catch (CommandFailedException | FuseNotSupportedException e) { throw new VolumeException("Unable to mount Filesystem", e); } }