#include <utilmm/types/bits/factory_error.hh>
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 | |
Classes | |
class | exception |
factory error exception More... |
This class implements the default error policy for utilmm::factory class. This error policy will throw an exception on error
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 |
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 |