Helios++
Helios software for LiDAR simulations
SurfaceInspectorException.hpp
1 #pragma once
2 
3 #include <string>
4 #include <stdexcept>
5 #include <surfaceinspector/util/Object.hpp>
6 
7 using std::string;
8 using std::runtime_error;
9 
10 namespace SurfaceInspector { namespace util{
11 
18 class SurfaceInspectorException : public runtime_error, Object {
19 public:
20  // *** CONSTRUCTION / DESTRUCTION *** //
21  // ************************************ //
26  SurfaceInspectorException(std::string const msg = ""):runtime_error(msg){}
27  virtual ~SurfaceInspectorException() = default;
28 };
29 
30 }}
Class representing an object. All surface inspector classes must extend Object.
Definition: Object.hpp:12
Base class for surface inspector exceptions.
Definition: SurfaceInspectorException.hpp:18
SurfaceInspectorException(std::string const msg="")
Surface inspector exception constructor.
Definition: SurfaceInspectorException.hpp:26