本文整理汇总了C++中Exception::ice_name方法的典型用法代码示例。如果您正苦于以下问题:C++ Exception::ice_name方法的具体用法?C++ Exception::ice_name怎么用?C++ Exception::ice_name使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Exception
的用法示例。
在下文中一共展示了Exception::ice_name方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: completed
virtual bool completed(const Exception& ex)
{
_childObserver.failed(ex.ice_name());
_childObserver.detach();
_outAsync->check(false);
return false;
}
示例2: finished
bool
ProxyOutgoingAsyncBase::completed(const Exception& exc)
{
if(_childObserver)
{
_childObserver.failed(exc.ice_name());
_childObserver.detach();
}
_cachedConnection = 0;
if(_proxy->__reference()->getInvocationTimeout() == -2)
{
_instance->timer()->cancel(this);
}
//
// NOTE: at this point, synchronization isn't needed, no other threads should be
// calling on the callback.
//
try
{
//
// It's important to let the retry queue do the retry even if
// the retry interval is 0. This method can be called with the
// connection locked so we can't just retry here.
//
_instance->retryQueue()->add(this, handleException(exc));
return false;
}
catch(const Exception& ex)
{
return finished(ex); // No retries, we're done
}
}