new kind of exception: template exception