summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ExceptionFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/ExceptionFactory.cpp')
-rw-r--r--cpp/src/IcePack/ExceptionFactory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IcePack/ExceptionFactory.cpp b/cpp/src/IcePack/ExceptionFactory.cpp
index 310d8d65427..a97b9b456f8 100644
--- a/cpp/src/IcePack/ExceptionFactory.cpp
+++ b/cpp/src/IcePack/ExceptionFactory.cpp
@@ -24,6 +24,7 @@ IcePack::ExceptionFactory::ExceptionFactory(const Ice::CommunicatorPtr& communic
communicator->addUserExceptionFactory(this, "::IcePack::ParserDeploymentException");
communicator->addUserExceptionFactory(this, "::IcePack::AdapterDeploymentException");
communicator->addUserExceptionFactory(this, "::IcePack::ServerDeploymentException");
+ communicator->addUserExceptionFactory(this, "::IcePack::ObjectDeploymentException");
communicator->addUserExceptionFactory(this, "::IcePack::OfferDeploymentException");
}
@@ -46,6 +47,10 @@ IcePack::ExceptionFactory::createAndThrow(const string& type)
{
throw OfferDeploymentException();
}
+ else if(type == "::IcePack::ObjectDeploymentException")
+ {
+ throw ObjectDeploymentException();
+ }
else if(type == "::IcePack::ServerDeploymentException")
{
throw ServerDeploymentException();