Changeset 12769


Ignore:
Timestamp:
Mar 19, 2014, 5:43:23 PM (10 years ago)
Author:
hock@…
Message:

made message_not_sent exception accessible from applications (and services)

Location:
source/ariba
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.h

    r12350 r12769  
    6666#include "ariba/overlay/SequenceNumber.h"
    6767#include "ariba/utility/logging/Logging.h"
     68#include "ariba/overlay/PublicExceptions.h"
    6869
    6970// reboost messages
     
    7778namespace ariba {
    7879
     80typedef overlay::message_not_sent message_not_sent;
    7981// typedef ariba::overlay::SequenceNumber SequenceNumber; // XXX see CommunicationListener
    8082
  • source/ariba/overlay/BaseOverlay.h

    r12438 r12769  
    4747#include <vector>
    4848#include <deque>
    49 #include <stdexcept>
    5049#include <boost/foreach.hpp>
    5150
     
    7271#include "ariba/overlay/OverlayBootstrap.h"
    7372#include "ariba/overlay/SequenceNumber.h"
     73#include "ariba/overlay/PublicExceptions.h"
    7474
    7575// forward declarations
     
    120120namespace overlay {
    121121
    122 
    123 
    124 class message_not_sent: public std::runtime_error
    125 {
    126 public:
    127     /** Takes a character string describing the error.  */
    128     explicit message_not_sent(const string& __arg)  :
    129         std::runtime_error(__arg)
    130     {
    131     }
    132    
    133     virtual ~message_not_sent() throw() {}
    134 };
    135 
    136 
    137 
    138122class LinkDescriptor;
    139123class OverlayMsg;
  • source/ariba/overlay/CMakeLists.txt

    r12060 r12769  
    4242    OverlayBootstrap.h
    4343    SequenceNumber.h
     44    PublicExceptions.h
    4445    )
    4546
Note: See TracChangeset for help on using the changeset viewer.