NDN-CPP exceptions handling