summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-01-31 17:39:06 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-13 17:29:49 +0100
commitb024560b87f4692088a5e09646c0b42429fbc9e6 (patch)
tree34759d59fda531a94df588ed168f04c9d17b7a11
parentSplit parts ServiceStreamer into a Core version with a bit more flexibility t... (diff)
downloadp2pvr-b024560b87f4692088a5e09646c0b42429fbc9e6.tar.bz2
p2pvr-b024560b87f4692088a5e09646c0b42429fbc9e6.tar.xz
p2pvr-b024560b87f4692088a5e09646c0b42429fbc9e6.zip
Throw when setting up the proxy fails
-rw-r--r--p2pvr/lib/temporaryIceAdapterObject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2pvr/lib/temporaryIceAdapterObject.h b/p2pvr/lib/temporaryIceAdapterObject.h
index 949661a..e9ba317 100644
--- a/p2pvr/lib/temporaryIceAdapterObject.h
+++ b/p2pvr/lib/temporaryIceAdapterObject.h
@@ -12,6 +12,7 @@ class TemporaryIceAdapterObject {
proxy(Object::ProxyType::checkedCast(adapter->addWithUUID(object)))
{
if (!proxy) {
+ throw std::runtime_error("Failed to set up new object proxy");
}
}