Dbus incorporating InvalidUri error

This commit is contained in:
John Freed 2021-09-22 20:51:14 +02:00
parent d3136060a1
commit b7cb280b27

View file

@ -72,7 +72,7 @@ public class DbusSignalImpl implements Signal {
} catch (IOException | InvalidKeyException e) {
throw new Error.Failure(e.getClass().getSimpleName() + " Add device link failed. " + e.getMessage());
} catch (URISyntaxException e) {
throw new Error.Failure(e.getClass().getSimpleName() + " Device link uri has invalid format: " + e.getMessage());
throw new Error.InvalidUri(e.getClass().getSimpleName() + " Device link uri has invalid format: " + e.getMessage());
}
}