X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/3040da99c41a92d325a4caf951b6c0efd0508845..5cccf521032954d7ad8e3f70e3cbef2ce1293e85:/src/main/java/org/asamk/signal/dbus/DbusProvisioningManagerImpl.java diff --git a/src/main/java/org/asamk/signal/dbus/DbusProvisioningManagerImpl.java b/src/main/java/org/asamk/signal/dbus/DbusProvisioningManagerImpl.java index cba2b5e4..2e026c8a 100644 --- a/src/main/java/org/asamk/signal/dbus/DbusProvisioningManagerImpl.java +++ b/src/main/java/org/asamk/signal/dbus/DbusProvisioningManagerImpl.java @@ -2,7 +2,7 @@ package org.asamk.signal.dbus; import org.asamk.SignalControl; import org.asamk.signal.manager.ProvisioningManager; -import org.asamk.signal.manager.UserAlreadyExists; +import org.asamk.signal.manager.api.UserAlreadyExistsException; import org.freedesktop.dbus.connections.impl.DBusConnection; import java.io.IOException; @@ -27,9 +27,7 @@ public class DbusProvisioningManagerImpl implements ProvisioningManager { } public DbusProvisioningManagerImpl( - final SignalControl signalControl, - DBusConnection connection, - URI deviceLinkUri + final SignalControl signalControl, DBusConnection connection, URI deviceLinkUri ) { this.signalControl = signalControl; this.connection = connection; @@ -47,7 +45,7 @@ public class DbusProvisioningManagerImpl implements ProvisioningManager { } @Override - public String finishDeviceLink(final String deviceName) throws IOException, TimeoutException, UserAlreadyExists { + public String finishDeviceLink(final String deviceName) throws IOException, TimeoutException, UserAlreadyExistsException { return signalControl.finishLink(deviceLinkUri.toString(), deviceName); } }