Changed to Exception as end of font map is terminated by null