LCOV - code coverage report
Current view: top level - air_casawvr/casawvr - casawvr_errs.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 3 3 100.0 %
Date: 2024-12-11 20:54:31 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /**
       2             :    Bojan Nikolic <b.nikolic@mrao.cam.ac.uk>, <bojan@bnikolic.co.uk>
       3             :    Initial version March 2010.
       4             :    Maintained by ESO since 2013. 
       5             :    
       6             :    This file is part of LibAIR and is licensed under GNU Public
       7             :    License Version 2
       8             :    
       9             :    \file casaswvr_errs.hpp
      10             :    Renamed to casawvr_errs.h 2023
      11             : 
      12             :    Error hirerarchy for the casaWVR module
      13             : */
      14             : #ifndef _LIBAIR_CASAWVR_CASAWVR_ERR_HPP__
      15             : #define _LIBAIR_CASAWVR_CASAWVR_ERR_HPP__
      16             : #include <string>
      17             : #include <stdexcept>
      18             : 
      19             : namespace LibAIR2 {
      20             : 
      21             :   class MSInputDataError: 
      22             :     public std::runtime_error
      23             :   {
      24             :   public:
      25             : 
      26           1 :     MSInputDataError(const std::string &s):
      27             :       std::runtime_error("There is an error in the supplied input data which prevents the calculation\
      28           1 :  of the calibration: " + s)
      29           1 :     {}
      30             :     
      31             :   };
      32             : 
      33             : 
      34             : }
      35             : 
      36             : 
      37             : #endif
      38             : 

Generated by: LCOV version 1.16