modified table output for exceptions to print multiple exception labels when an exception title is used multiple times