LCOV - code coverage report
Current view: top level - cppprocess/cppprocess - exception.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 10 0.0 %
Date: 2022-06-18 10:10:36 Functions: 0 30 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // Copyright (c) 2013-2022  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_in_use);
      48           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_invalid_parameters);
      49           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_not_started);
      50           0 : DECLARE_EXCEPTION(cppprocess_exception, cppprocess_directory_not_found);
      51             : 
      52             : 
      53             : 
      54             : } // namespace cppprocess
      55             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.13