This will still throw an exception if something that isn't a BrowserIDException is passed in. I would recommend just logging the BrowserIDException directly at this point.