// Implementation.
-#include "cln/abort.h"
+#include "cln/exception.h"
namespace cln {
void cl_property_list::add_property (cl_property* new_property)
{
if (new_property->next)
- cl_abort();
+ throw runtime_exception();
new_property->next = list;
list = new_property;
}