Throw an exception when the template file for a view not found.