#include "ndn-cxx/detail/common.hpp"#include <cerrno>#include <boost/exception_ptr.hpp>#include <boost/exception/enable_current_exception.hpp>#include <boost/exception/enable_error_info.hpp>#include <boost/exception/errinfo_errno.hpp>#include <boost/exception/errinfo_nested_exception.hpp>

Go to the source code of this file.
Namespaces | |
| ndn | |
| Copyright (c) 2011-2015 Regents of the University of California. | |
| ndn::exception | |
Macros | |
| #define | NDN_THROW(e) |
| #define | NDN_THROW_ERRNO(e) NDN_THROW(e) << boost::errinfo_errno(errno) |
| #define | NDN_THROW_NESTED(e) NDN_THROW(e) << boost::errinfo_nested_exception(boost::current_exception()) |
| #define NDN_THROW | ( | e | ) |
Definition at line 62 of file exception.hpp.
| #define NDN_THROW_ERRNO | ( | e | ) | NDN_THROW(e) << boost::errinfo_errno(errno) |
Definition at line 69 of file exception.hpp.
| #define NDN_THROW_NESTED | ( | e | ) | NDN_THROW(e) << boost::errinfo_nested_exception(boost::current_exception()) |
Definition at line 72 of file exception.hpp.