reduced visibility

This commit is contained in:
Sebastian Stenzel
2024-01-11 11:45:42 +01:00
parent b85e455ff5
commit f36e2bb4b7

View File

@@ -1,6 +1,12 @@
package org.cryptomator.ui.keyloading.hub;
import org.cryptomator.cryptolib.api.MasterkeyLoadingFailedException;
/**
* Thrown, when Hub registerDevice-Request returns with 409
*/
public class DeviceAlreadyExistsException extends RuntimeException {}
class DeviceAlreadyExistsException extends MasterkeyLoadingFailedException {
public DeviceAlreadyExistsException() {
super("Device already registered on this Hub instance");
}
}