Changeset 4363 in ntrip
- Timestamp:
- Jun 25, 2012, 5:26:52 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/bncpostprocess.cpp
r4263 r4363 159 159 } 160 160 else { 161 _rnxObsFile = new t_rnxObsFile(_opt->obsFileName, t_rnxObsFile::input); 161 try { 162 _rnxObsFile = new t_rnxObsFile(_opt->obsFileName, t_rnxObsFile::input); 163 } 164 catch (...) { 165 emit finished(); 166 deleteLater(); 167 return; 168 } 162 169 _rnxNavFile = new t_rnxNavFile(_opt->navFileName, t_rnxNavFile::input); 163 170 _pppClient = new bncPPPclient("POST", _opt, false); -
trunk/BNC/src/rinex/reqcedit.cpp
r4257 r4363 115 115 while (it.hasNext()) { 116 116 QString filePath = it.next().filePath(); 117 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(filePath, t_rnxObsFile::input); 117 try { 118 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(filePath, t_rnxObsFile::input); 119 rnxObsFiles.append(rnxObsFile); 120 } 121 catch (...) { 122 cerr << "Error in rnxObsFile initialization" << endl; 123 } 124 } 125 } 126 else { 127 try { 128 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input); 118 129 rnxObsFiles.append(rnxObsFile); 119 130 } 120 } 121 else { 122 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input); 123 rnxObsFiles.append(rnxObsFile); 131 catch (...) { 132 cerr << "Error in rnxObsFile initialization" << endl; 133 } 124 134 } 125 135 }
Note:
See TracChangeset
for help on using the changeset viewer.