Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit b9ab49fc70.
PrevUpHomeNext

Class interprocess_exception

boost::interprocess::interprocess_exception

Synopsis

// In header: <boost/interprocess/exceptions.hpp>


class interprocess_exception : public exception {
public:
  // construct/copy/destruct
  interprocess_exception(const char *) noexcept;
  interprocess_exception(const error_info &, const char * = 0);
  ~interprocess_exception();

  // public member functions
  const char * what() const noexcept;
  native_error_t get_native_error() const noexcept;
  error_code_t get_error_code() const noexcept;
};

Description

This class is the base class of all exceptions thrown by boost::interprocess

interprocess_exception public construct/copy/destruct

  1. interprocess_exception(const char * err) noexcept;
  2. interprocess_exception(const error_info & err_info, const char * str = 0);
  3. ~interprocess_exception();

interprocess_exception public member functions

  1. const char * what() const noexcept;
  2. native_error_t get_native_error() const noexcept;
  3. error_code_t get_error_code() const noexcept;

PrevUpHomeNext