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
ParseException.hpp
1 // Copyright 2015 GEOSYSTEMS SRL
2 // All Rights Reserved.
3 
4 #ifndef FIRE_GEAR_EXCEPTION_PARSEEXCEPTION_HPP_INCLUDED
5 #define FIRE_GEAR_EXCEPTION_PARSEEXCEPTION_HPP_INCLUDED
6 
7 #include <string>
8 
9 #include "fire/export.hpp"
10 
11 #include "fire/exception/Exception.hpp"
12 
19 namespace fire {
26 namespace gear {
33 namespace exception {
40 class FIRE_ENGINE_DLL ParseException : public fire::exception::Exception {
41  public:
43  explicit ParseException(const std::string& message);
44  ParseException(const std::string& name, const std::string& message);
61  ParseException(const std::string& message, const double& number);
62 
63  private:
64  static std::string stringify(double num);
65 };
66 } // namespace exception
67 } // namespace gear
68 } // namespace fire
69 
70 #endif
Classe per la gestione di un'eccezione generica.
Definition: Exception.hpp:26
Definition: ParseException.hpp:40