It would be easier to catch all the BrowserLauncher exceptions if all 3 would be subclasses of one BrowserLauncherException class. This way it would be possible to catch one instead of 3 exceptions when calling openURLinBrowser().
Log in to post a comment.