LCOV - code coverage report
Current view: top level - eventdispatcher - exception.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 9 0.0 %
Date: 2019-08-08 02:52:36 Functions: 0 27 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // Event Dispatcher
       2             : // Copyright (c) 2012-2019  Made to Order Software Corp.  All Rights Reserved
       3             : //
       4             : // This program is free software; you can redistribute it and/or modify
       5             : // it under the terms of the GNU General Public License as published by
       6             : // the Free Software Foundation; either version 2 of the License, or
       7             : // (at your option) any later version.
       8             : //
       9             : // This program is distributed in the hope that it will be useful,
      10             : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      11             : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      12             : // GNU General Public License for more details.
      13             : //
      14             : // You should have received a copy of the GNU General Public License
      15             : // along with this program; if not, write to the Free Software
      16             : // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
      17             : #pragma once
      18             : 
      19             : /** \file
      20             :  * \brief Exceptions.
      21             :  *
      22             :  * The following are all the exceptions used by the Event Dispatcher
      23             :  * library.
      24             :  */
      25             : 
      26             : 
      27             : // libexcept
      28             : //
      29             : #include "libexcept/exception.h"
      30             : 
      31             : 
      32             : 
      33             : namespace ed
      34             : {
      35             : 
      36             : 
      37             : 
      38           0 : DECLARE_LOGIC_ERROR(event_dispatcher_parameter_error);
      39           0 : DECLARE_LOGIC_ERROR(event_dispatcher_implementation_error);
      40             : 
      41           0 : DECLARE_MAIN_EXCEPTION(event_dispatcher_exception);
      42             : 
      43           0 : DECLARE_EXCEPTION(event_dispatcher_exception, event_dispatcher_initialization_error);
      44           0 : DECLARE_EXCEPTION(event_dispatcher_exception, event_dispatcher_initialization_missing);
      45           0 : DECLARE_EXCEPTION(event_dispatcher_exception, event_dispatcher_invalid_message);
      46           0 : DECLARE_EXCEPTION(event_dispatcher_exception, event_dispatcher_invalid_parameter);
      47           0 : DECLARE_EXCEPTION(event_dispatcher_exception, event_dispatcher_runtime_error);
      48           0 : DECLARE_EXCEPTION(event_dispatcher_exception, event_dispatcher_unexpected_data);
      49             : 
      50             : //class tcp_client_server_logic_error : public std::logic_error
      51             : //{
      52             : //public:
      53             : //    tcp_client_server_logic_error(std::string const & errmsg) : logic_error(errmsg) {}
      54             : //};
      55             : //
      56             : //class tcp_client_server_runtime_error : public std::runtime_error
      57             : //{
      58             : //public:
      59             : //    tcp_client_server_runtime_error(std::string const & errmsg) : runtime_error(errmsg) {}
      60             : //};
      61             : //
      62             : //class tcp_client_server_parameter_error : public tcp_client_server_logic_error
      63             : //{
      64             : //public:
      65             : //    tcp_client_server_parameter_error(std::string const & errmsg) : tcp_client_server_logic_error(errmsg) {}
      66             : //};
      67             : //
      68             : //class tcp_client_server_initialization_error : public tcp_client_server_runtime_error
      69             : //{
      70             : //public:
      71             : //    tcp_client_server_initialization_error(std::string const & errmsg) : tcp_client_server_runtime_error(errmsg) {}
      72             : //};
      73             : //
      74             : //class tcp_client_server_initialization_missing_error : public tcp_client_server_runtime_error
      75             : //{
      76             : //public:
      77             : //    tcp_client_server_initialization_missing_error(std::string const & errmsg) : tcp_client_server_runtime_error(errmsg) {}
      78             : //};
      79             : 
      80             : //class udp_client_server_runtime_error : public std::runtime_error
      81             : //{
      82             : //public:
      83             : //    udp_client_server_runtime_error(const std::string & errmsg) : std::runtime_error(errmsg) {}
      84             : //};
      85             : //
      86             : //class udp_client_server_parameter_error : public std::logic_error
      87             : //{
      88             : //public:
      89             : //    udp_client_server_parameter_error(const std::string & errmsg) : std::logic_error(errmsg) {}
      90             : //};
      91             : 
      92             : 
      93             : } // namespace ed
      94             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.12