Boost C++ Libraries

PrevUpHomeNext

Class system_error

boost::log::system_error — Exception class that is used to indicate underlying OS API errors.

Synopsis

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


class system_error : public runtime_error {
public:
  // construct/copy/destruct
  system_error();
  explicit system_error(std::string const &);
  ~system_error();
};

Description

system_error public construct/copy/destruct

  1. system_error();

    Default constructor. Creates an exception with the default error message.

  2. explicit system_error(std::string const & descr);

    Initializing constructor. Creates an exception with the specified error message.

  3. ~system_error();

    Destructor


PrevUpHomeNext