Removing all but one custom exception