template exceptions