LCOV - code coverage report
Current view: top level - cppprocess/cppprocess - exception.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 8 0.0 %
Date: 2021-09-19 09:06:58 Functions: 0 24 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // Copyright (c) 2013-2021  Made to Order Software Corp.  All Rights Reserved
       2             : //
       3             : // https://snapwebsites.org/project/eventdispatcher
       4             : // contact@m2osw.com
       5             : //
       6             : // This program is free software; you can redistribute it and/or modify
       7             : // it under the terms of the GNU General Public License as published by
       8             : // the Free Software Foundation; either version 2 of the License, or
       9             : // (at your option) any later version.
      10             : //
      11             : // This program is distributed in the hope that it will be useful,
      12             : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      13             : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14             : // GNU General Public License for more details.
      15             : //
      16             : // You should have received a copy of the GNU General Public License along
      17             : // with this program; if not, write to the Free Software Foundation, Inc.,
      18             : // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      19             : #pragma once
      20             : 
      21             : /** \file
      22             :  * \brief Exceptions for the process environment.
      23             :  *
      24             :  * This file includes the definitions of exceptions used by the C++ process
      25             :  * environment.
      26             :  */
      27             : 
      28             : // libexcept lib
      29             : //
      30             : #include    <libexcept/exception.h>
      31             : 
      32             : 
      33             : namespace cppprocess
      34             : {
      35             : 
      36             : 
      37             : 
      38           0 : DECLARE_LOGIC_ERROR(cppprocess_logic_error);
      39             : 
      40           0 : DECLARE_OUT_OF_RANGE(cppprocess_out_of_range);
      41             : 
      42           0 : DECLARE_MAIN_EXCEPTION(cppprocess_exception);
      43             : 
      44           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_incorrect_pipe_type);
      45           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_recursive_call);
      46           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_initialization_failed);
      47           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_invalid_parameters);
      48           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_not_started);
      49             : 
      50             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_already_exists);
      51             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_already_initialized);
      52             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_data_not_available);
      53             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_in_use_error);
      54             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_invalid_error);
      55             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_invalid_mode_error);
      56             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_mutex_failed_error);
      57             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_name_mismatch);
      58             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_not_found);
      59             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_not_locked_error);
      60             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_not_locked_once_error);
      61             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_openproc);
      62             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_system_error);
      63             : //DECLARE_EXCEPTION(cppprocess_exception, cppprocess_unknown_flag);
      64             : 
      65             : 
      66             : 
      67             : } // namespace cppprocess
      68             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.13