Proton  1.1.1
Make porting easy from Python to C++11
proton::err Class Reference

The exception class. More...

#include <proton/base.hpp>

Inherits std::exception.

List of all members.

Public Member Functions

 err (const char *msg) throw ()
 ctor
const char * what () const throw ()
 get message

Detailed Description

The exception class.

The exception class used by PROTON_THROW_IF and PROTON_ERR.

Definition at line 131 of file base.hpp.


Constructor & Destructor Documentation

proton::err::err ( const char *  msg) throw ()
inline

ctor

Parameters:
msgthe message showed in what().

Definition at line 138 of file base.hpp.


Member Function Documentation

const char* proton::err::what ( ) const throw ()
inline

get message

Returns:
the message used in ctor.

Definition at line 153 of file base.hpp.


The documentation for this class was generated from the following file: