Adds exception handling for invalid BZ IDs