hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ReducingExceptionsTranslatorIf.hpp
Go to the documentation of this file.
1 
15 #ifndef REDUCINGEXCEPTIONSTRANSLATORIF_HPP_
16 #define REDUCINGEXCEPTIONSTRANSLATORIF_HPP_
17 
18 #include "Exceptions.hpp"
19 #include <string>
20 
21 namespace HCE{
22 namespace reduce{
23 
24 const int INTERNAL_ERROR = 3;
25 
27 public:
29 
30  virtual int translateToErrorCode(const NotFoundByKeyException& e) = 0;
31  virtual std::string translateToErrorMsg(const NotFoundByKeyException& e) = 0;
32 };
33 
34 }
35 }
36 
37 #endif