[Ndn-interest] ndn::Transport::Error?

Lee, Jongdeog jlee700 at illinois.EDU
Thu Feb 12 18:04:02 PST 2015


Thanks. It is now running!

Best,
Jongdeog Lee (JD)

------------------------------------------------
Ph.D. Student
Department of Computer Science
University of Illinois at Urbana-Champaign
________________________________
From: Alex Afanasyev [alexander.afanasyev at ucla.edu]
Sent: Thursday, February 12, 2015 6:49 PM
To: Lee, Jongdeog
Cc: ndn-interest at lists.cs.ucla.edu
Subject: Re: [Ndn-interest] ndn::Transport::Error?

In you application you should catch std::exception or std::runtime_error.  It will provide you more human-friendly error message in this (and other) cases.

For example:

try {
   face.processEvents();
}
catch (const std::exception& e) {
   std::cerr << “ERROR: “ << e.what(); std::endl;
}

Most likely your app cannot connect to nfd. Is it running?

—
Alex

On Feb 12, 2015, at 4:32 PM, Lee, Jongdeog <jlee700 at illinois.edu<mailto:jlee700 at illinois.edu>> wrote:

Dear all,

  Does anybody know reasons of the following error message?
  Is it related to the size of name?
=============================================
terminate called after throwing an instance of 'ndn::Transport::Error'
  what():  error while connecting to the forwarder
Aborted (core dumped)
=============================================

Best wishes,
Jongdeog Lee (JD)

------------------------------------------------
Ph.D. Student
Department of Computer Science
University of Illinois at Urbana-Champaign
_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150213/b1c491ff/attachment.html>


More information about the Ndn-interest mailing list