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, 0 insertions, 5 deletions
diff --git a/cpp/src/IcePack/ExceptionFactory.cpp b/cpp/src/IcePack/ExceptionFactory.cpp
index a97b9b456f8..6e4387b3330 100644
--- a/cpp/src/IcePack/ExceptionFactory.cpp
+++ b/cpp/src/IcePack/ExceptionFactory.cpp
@@ -25,7 +25,6 @@ IcePack::ExceptionFactory::ExceptionFactory(const Ice::CommunicatorPtr& communic
communicator->addUserExceptionFactory(this, "::IcePack::AdapterDeploymentException");
communicator->addUserExceptionFactory(this, "::IcePack::ServerDeploymentException");
communicator->addUserExceptionFactory(this, "::IcePack::ObjectDeploymentException");
- communicator->addUserExceptionFactory(this, "::IcePack::OfferDeploymentException");
}
void
@@ -43,10 +42,6 @@ IcePack::ExceptionFactory::createAndThrow(const string& type)
{
throw AdapterDeploymentException();
}
- else if(type == "::IcePack::OfferDeploymentException")
- {
- throw OfferDeploymentException();
- }
else if(type == "::IcePack::ObjectDeploymentException")
{
throw ObjectDeploymentException();