hpp-template-corba  4.9.0
Template corba server
server.hxx File Reference
#include <errno.h>
#include <pthread.h>
#include <iostream>
#include <hpp/corba/template/debug.hh>
Include dependency graph for server.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 hpp
 
 hpp::corba
 

Macros

#define HPP_CORBA_CATCH(msg, ret)
 

Typedefs

typedef CORBA::ORB::InvalidName hpp::corba::InvalidName
 

Macro Definition Documentation

◆ HPP_CORBA_CATCH

#define HPP_CORBA_CATCH (   msg,
  ret 
)
Value:
catch(CORBA::UserException& exc) { \
hppCorbaDout (error, "CORBA::UserException: " << msg << " " \
<< exc._name ()); \
return ret; \
} \
catch(CORBA::SystemException&) { \
hppCorbaDout (error, "CORBA::SystemException: " << msg); \
return ret; \
} \
catch(CORBA::Exception&) { \
hppCorbaDout (error, "CORBA::Exception: " << msg); \
return ret; \
} \
catch(omniORB::fatalException& fe) { \
hppCorbaDout (error, "CORBA::fatalException: " << msg); \
return ret; \
} \
catch(...) { \
hppCorbaDout (error, "CORBA: unknown exception: " << msg); \
return ret; \
}