slightly better exception template example