better example for exception templates