public WSConfiguration() { super(); InputStream configStream = null; File file = null; try { file = new File(configPath + "ServiceConfig.txt"); configStream = new FileInputStream(file); load(configStream); debugMonitor("Load configuration success. (" + configPath + "ServiceConfig.txt)"); } catch (Exception e) { debugMonitor("Load ServiceConfig.txt error"); debugMonitor(e); } finally { try { configStream.close(); } catch (IOException ioe) { } } }