Main MRPT website > C++ reference for MRPT 1.5.9
exceptions.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef exceptions_H
10 #define exceptions_H
11 
12 #include <stdexcept>
13 #include <string>
14 
15 namespace mrpt
16 {
17  namespace utils
18  {
19  /** \addtogroup mrpt_exceptions Exception base classes (in #include <mrpt/utils/exceptions.h>)
20  * \ingroup mrpt_base_grp
21  * @{ */
22 
23  /** The base for MRPT-especific exceptions \ingroup mrpt_base_grp */
24  class CMRPTException: public std::logic_error
25  {
26  public:
27  CMRPTException(const std::string &s) : std::logic_error(s.c_str()) { }
28  };
29 
30  /** Used in mrpt::utils::CImage */
32  {
33  public:
35  };
36 
37  /** Used in mrpt::utils::CStream */
39  {
40  public:
42  };
43 
44  /** @} */
45  } // End of namespace
46 } // End of namespace
47 #endif
CExceptionEOF(const std::string &s)
Definition: exceptions.h:41
CExceptionExternalImageNotFound(const std::string &s)
Definition: exceptions.h:34
STL namespace.
GLdouble s
Definition: glext.h:3602
The base for MRPT-especific exceptions.
Definition: exceptions.h:24
GLsizei const GLchar ** string
Definition: glext.h:3919
Used in mrpt::utils::CStream.
Definition: exceptions.h:38
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CMRPTException(const std::string &s)
Definition: exceptions.h:27
Used in mrpt::utils::CImage.
Definition: exceptions.h:31



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020