$search
default utilmm::factory error policy More...
#include <factory_error.hh>
Classes | |
class | exception |
factory error exception More... | |
Static Public Member Functions | |
template<typename Ty > | |
static Ty | on_unknown_id (IdentifierType const &id) |
unknown id error | |
static Result | on_unknown_type (IdentifierType const &id) |
unknown creation method error |
default utilmm::factory error policy
This class implements the default error policy for utilmm::factory class. This error policy will throw an exception on error
Definition at line 31 of file factory_error.hh.
static Ty utilmm::factory_toolbox::error< AbstractProduct, IdentifierType, Result >::on_unknown_id | ( | IdentifierType const & | id | ) | [inline, static] |
unknown id error
Thsi function will be called by utilmm::factory if user request for an unknown identifier
id | The identifer |
utilmm::factory_toolbox::error::exception | The identifier is unknown |
Definition at line 63 of file factory_error.hh.
static Result utilmm::factory_toolbox::error< AbstractProduct, IdentifierType, Result >::on_unknown_type | ( | IdentifierType const & | id | ) | [inline, static] |
unknown creation method error
Thsi function will be called by utilmm::factory if user request for an unknown creation method
id | The identifier of the creation method |
utilmm::factory_toolbox::error::exception | There's no creation merthod attached to id |
Definition at line 78 of file factory_error.hh.