Make everything compile
diff --git a/helper/ccnb-parser/visitors/ccnb-parser-non-negative-integer-visitor.cc b/helper/ccnb-parser/visitors/ccnb-parser-non-negative-integer-visitor.cc
index 319eefa..e393770 100644
--- a/helper/ccnb-parser/visitors/ccnb-parser-non-negative-integer-visitor.cc
+++ b/helper/ccnb-parser/visitors/ccnb-parser-non-negative-integer-visitor.cc
@@ -31,7 +31,7 @@
NonNegativeIntegerVisitor::visit (Blob &n) //to throw parsing error
{
// Buffer n.m_blob;
- throw CcnxDecodingException ();
+ throw CcnbDecodingException ();
}
boost::any
@@ -42,7 +42,7 @@
int32_t value;
is >> value;
if (value<0) // value should be non-negative
- throw CcnxDecodingException ();
+ throw CcnbDecodingException ();
return static_cast<uint32_t> (value);
}