Public Member Functions | Private Member Functions | Private Attributes
ecl::lite::sigslots::Error Class Reference

Extends the generic ecl error handler with some time specific error strings. More...

#include <errors.hpp>

List of all members.

Public Member Functions

 Error (const sigslots::ErrorFlag &flag=UnknownError)
 Configures the error class with the specified error flag.
virtual sigslots::ErrorFlag flag () const
 The flag identifying the error identified with this error handler.
virtual const char * what () const
 A simple string verbosely representing the error that is handled.

Private Member Functions

const char * noErrorString () const
const char * outOfResourcesErrorString () const
const char * unknownErrorString () const

Private Attributes

ErrorFlag error_flag

Detailed Description

Extends the generic ecl error handler with some time specific error strings.

This error handler is used both by ecl_sigslots_lite

Definition at line 41 of file errors.hpp.


Constructor & Destructor Documentation

Configures the error class with the specified error flag.

Parameters:
flag: the error type.

Definition at line 48 of file errors.hpp.


Member Function Documentation

virtual sigslots::ErrorFlag ecl::lite::sigslots::Error::flag ( ) const [inline, virtual]

The flag identifying the error identified with this error handler.

Returns:
ErrorFlag : the error flag.

Definition at line 53 of file errors.hpp.

const char* ecl::lite::sigslots::Error::noErrorString ( ) const [inline, private]

Definition at line 67 of file errors.hpp.

const char* ecl::lite::sigslots::Error::outOfResourcesErrorString ( ) const [inline, private]

Definition at line 69 of file errors.hpp.

const char* ecl::lite::sigslots::Error::unknownErrorString ( ) const [inline, private]

Definition at line 68 of file errors.hpp.

virtual const char* ecl::lite::sigslots::Error::what ( ) const [inline, virtual]

A simple string verbosely representing the error that is handled.

Returns:
const char* : verbose representation of the error.

Definition at line 59 of file errors.hpp.


Member Data Documentation

Definition at line 70 of file errors.hpp.


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


ecl_sigslots_lite
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:35:27