smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
smgl::policy::DefaultFactoryError< IdentifierType, ProductType >::unknown_identifier Class Reference

Default exception thrown when registered type not found. More...

#include <smgl/Factory.hpp>

Inheritance diagram for smgl::policy::DefaultFactoryError< IdentifierType, ProductType >::unknown_identifier:
[legend]
Collaboration diagram for smgl::policy::DefaultFactoryError< IdentifierType, ProductType >::unknown_identifier:
[legend]

Public Member Functions

 unknown_identifier (const IdentifierType &unknownId)
 
const char * what () const noexcept override
 
- Public Member Functions inherited from std::exception
T exception (T... args)
 
T operator= (T... args)
 
T what (T... args)
 
T ~exception (T... args)
 

Private Attributes

IdentifierType unknownId_
 

Detailed Description

template<class IdentifierType, class ProductType>
class smgl::policy::DefaultFactoryError< IdentifierType, ProductType >::unknown_identifier

Default exception thrown when registered type not found.

Definition at line 18 of file Factory.hpp.

Constructor & Destructor Documentation

◆ unknown_identifier()

template<class IdentifierType , class ProductType >
smgl::policy::DefaultFactoryError< I, P >::unknown_identifier::unknown_identifier ( const IdentifierType &  unknownId)
explicit

Default constructor

Definition at line 7 of file FactoryImpl.hpp.

Member Function Documentation

◆ what()

template<class I , class P >
const char * smgl::policy::DefaultFactoryError< I, P >::unknown_identifier::what ( ) const
overridenoexcept

Get exception message

Definition at line 14 of file FactoryImpl.hpp.

Member Data Documentation

◆ unknownId_

template<class IdentifierType , class ProductType >
IdentifierType smgl::policy::DefaultFactoryError< IdentifierType, ProductType >::unknown_identifier::unknownId_
private

Unknown identifier

Definition at line 29 of file Factory.hpp.


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