Fire Core  8.0.0.alpha
GIS framework per tutti gli usi
 Tutto Classi Namespace Funzioni Variabili Ridefinizioni di tipo (typedef) Tipi enumerati (enum) Valori del tipo enumerato Friend
Exception.hpp
1 // Copyright 2015 GEOSYSTEMS SRL
2 // All Rights Reserved.
3 
4 #ifndef FIRE_EXCEPTION_EXCEPTION_HPP_INCLUDED
5 #define FIRE_EXCEPTION_EXCEPTION_HPP_INCLUDED
6 
7 #include <stdexcept>
8 #include <string>
9 
10 #include "fire/export.hpp"
11 
16 namespace fire {
21 namespace exception {
26 class FIRE_ENGINE_DLL Exception : public std::runtime_error {
27  public:
32  Exception();
40  explicit Exception(const std::string& message);
51  Exception(const std::string& name, const std::string& message);
56  virtual ~Exception() throw();
57 };
58 } // namespace exception
59 } // namespace fire
60 
61 #endif
Classe per la gestione di un'eccezione generica.
Definition: Exception.hpp:26