JBIDE-14901 Unable to run BrowserSim/Cordovasim

catch block changes.