staticlib_support  1.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | Protected Attributes | List of all members
staticlib::support::exception Class Reference

Base exception class for various exceptions in staticlib modules. More...

#include <staticlib/support/exception.hpp>

Inheritance diagram for staticlib::support::exception:
staticlib::support::bad_observed_pointer_access_exception staticlib::support::bad_optional_access_exception

Public Member Functions

 exception ()
 Default constructor.
 exception (const std::string &message)
 Constructor with message.
virtual const char * what () const STATICLIB_NOEXCEPT
 Returns error message.

Protected Attributes

std::string message
 Error message.

Detailed Description

Base exception class for various exceptions in staticlib modules.

Constructor & Destructor Documentation

staticlib::support::exception::exception ( )

Default constructor.

staticlib::support::exception::exception ( const std::string &  message)
inline

Constructor with message.

Parameters
msgerror message

Member Function Documentation

virtual const char* staticlib::support::exception::what ( ) const
inlinevirtual

Returns error message.

Returns
error message

Member Data Documentation

std::string staticlib::support::exception::message
protected

Error message.


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