Classes | Defines

bulkDataNTDDSLoggable.h File Reference

#include <loggingLoggable.h>
#include <logging.h>
Include dependency graph for bulkDataNTDDSLoggable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BulkDataNTDDSLoggable

Defines

#define BDNT_LISTENER_USER_ERR(call)

Define Documentation

#define BDNT_LISTENER_USER_ERR (   call  ) 
Value:
try { call;                                                                                                                                     \
    }catch(const ACSErr::ACSbaseExImpl &ex){                                                                            \
        UserCallbackErrorCompletion ucb(ex, __FILE__, __LINE__, __FUNCTION__);          \
        ucb.setCall("#call");                                                                                                           \
        ucb.setStreamFlowName(topicName_m.c_str());                                                                     \
        callback_mp->onError(ucb);                                                                                                      \
    }catch(const std::exception &stdex){                                                                                        \
        ACSErrTypeCommon::StdExceptionExImpl ex(__FILE__, __LINE__, __FUNCTION__);  \
        ex.setWhat(stdex.what());                                                                                                       \
        UserCallbackErrorCompletion ucb(ex, __FILE__, __LINE__, __FUNCTION__);          \
        ucb.setCall("#call");                                                                                                           \
        ucb.setStreamFlowName(topicName_m.c_str());                                                                     \
        callback_mp->onError(ucb);                                                                                                      \
    }catch(...){                                                                                                                                        \
        ACSErrTypeCommon::UnknownExImpl ex(__FILE__, __LINE__, __FUNCTION__);           \
        UserCallbackErrorCompletion ucb(ex, __FILE__, __LINE__, __FUNCTION__);          \
        ucb.setCall("#call");                                                                                                           \
        ucb.setStreamFlowName(topicName_m.c_str());                                                                     \
        callback_mp->onError(ucb);                                                                                                      \
    }