HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ConsoleSupportNotifier.cpp
Go to the documentation of this file.
2 #include <iostream>
3 
4 namespace HCE{
5 namespace reduce{
6 
7 using namespace std;
8 using namespace Poco;
9 using namespace HCE::reduce_types;
10 
12 }
13 
15 }
16 
17 void ConsoleSupportNotifier::notifyWrongJSONStructure(unsigned long long itemId,
18  const SharedPtr<ReducingInputMessage>& reducingInputMessage)
19 {
20  cout << "WrongJSONStructure\n";
21  cout << "itemId " << itemId;
22  cout << "\nprocessing type " << static_cast<int>(reducingInputMessage->getProcessingType());
23  cout << "\nbody\n" << reducingInputMessage->getBody() << endl;
24 }
25 
27 {
28  cout << "Storage key error\n";
29  cout << e.what() << endl;
30 }
31 
32 }
33 }