Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
Refs: #4834
Change-Id: I6c536cd321fba62d397bf8520f51d2dbba73d908
diff --git a/src/util/cert-helper.cpp b/src/util/cert-helper.cpp
index 164a34f..ae33e00 100644
--- a/src/util/cert-helper.cpp
+++ b/src/util/cert-helper.cpp
@@ -52,7 +52,7 @@
}
}
}
- BOOST_THROW_EXCEPTION(std::runtime_error(certName.toUri() + " does not exist"));
+ NDN_THROW(std::runtime_error(certName.toUri() + " does not exist"));
}
Name
@@ -64,7 +64,7 @@
return certName.getPrefix(i);
}
}
- BOOST_THROW_EXCEPTION(std::runtime_error(certName.toUri() + " is not a legal cert name"));
+ NDN_THROW(std::runtime_error(certName.toUri() + " is not a legal cert name"));
}
security::Certificate