hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SphinxExceptions.hpp
Go to the documentation of this file.
1 
15 #ifndef SPHINXEXCEPTIONS_HPP_
16 #define SPHINXEXCEPTIONS_HPP_
17 
18 #include <exception>
19 #include <string>
20 
21 namespace HCE{
22 namespace sphinx{
23 namespace reduce_task{
24 
25 class SphinxResourceAgregatorException: public std::exception
26 {
27  public:
28  SphinxResourceAgregatorException(const std::string& _what):_what_ (_what){}
30  virtual const char *what() const throw() {return _what_.c_str();}
31  private:
32  std::string _what_;
33 };
34 
35 
36 }
37 }
38 }
39 #endif