void IceInternal::RouterInfo::getClientProxyException(const Ice::Exception& ex, const GetClientEndpointsCallbackPtr& callback) { if(dynamic_cast<const Ice::CollocationOptimizationException*>(&ex)) { try { callback->setEndpoints(getClientEndpoints()); } catch(const Ice::LocalException& e) { callback->setException(e); } } else { callback->setException(dynamic_cast<const Ice::LocalException&>(ex)); } }
void IceInternal::RouterInfo::getClientProxyException(const Ice::Exception& ex, const GetClientEndpointsCallbackPtr& callback) { callback->setException(dynamic_cast<const Ice::LocalException&>(ex)); }