| Home | Libraries | People | FAQ | More

## Class interprocess_exception

boost::interprocess::interprocess_exception

## Synopsis

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

    class interprocess_exception {
    public:
      // construct/copy/destruct
      interprocess_exception(error_code_t = other_error);
      interprocess_exception(native_error_t);
      interprocess_exception(const error_info &);
      ~interprocess_exception();

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

## Description

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

### `interprocess_exception` public construct/copy/destruct

1.     interprocess_exception(error_code_t ec = other_error);

2.     interprocess_exception(native_error_t sys_err_code);

3.     interprocess_exception(const error_info & err_info);

4.     ~interprocess_exception();

### `interprocess_exception` public member functions

1.     const char * what() const;

2.     native_error_t get_native_error() const;

3.     error_code_t get_error_code() const;