LBIBCell
 All Classes Functions Variables Friends Pages
UtilLib::ErrorPolicyThrowException< IdentifierType, ProductType > Class Template Reference

#include <Factory.hpp>

Static Protected Member Functions

static ProductType * onUnknownType (const IdentifierType &id)
 

Detailed Description

template<typename IdentifierType, typename ProductType>
class UtilLib::ErrorPolicyThrowException< IdentifierType, ProductType >

Error policy that throws an exception.

Definition at line 39 of file Factory.hpp.

Member Function Documentation

template<typename IdentifierType , typename ProductType >
static ProductType* UtilLib::ErrorPolicyThrowException< IdentifierType, ProductType >::onUnknownType ( const IdentifierType &  id)
inlinestaticprotected

Throw an exception of an unknown type is encountered.

Parameters
idThe identifier of the unknown type
Returns
throws an exception

Definition at line 45 of file Factory.hpp.


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