Fail when template id is unknown.

TemplateSelector and BuilderFactory throws an exception
if an unknown templateID is given to them.