| 797 | | |
| 798 | | DCDParser _dcdParser( _fileMgr->open( registeredDeviceMgr->deviceConfigurationProfile(), true ) ); |
| | 797 | CF::File_var _dcd; |
| | 798 | try |
| | 799 | { |
| | 800 | _dcd = _fileMgr->open( registeredDeviceMgr->deviceConfigurationProfile(), true ); |
| | 801 | } catch( CF::InvalidFileName &_ex ) { |
| | 802 | std::cout << "[DomainManager::establishServiceConnections] While opening Dev Config profile: " << _ex.msg << "\n"; |
| | 803 | exit(EXIT_FAILURE); |
| | 804 | } catch( CF::FileException &_ex ) { |
| | 805 | std::cout << "[DomainManager::establishServiceConnections] While opening Dev Config profile: " << _ex.msg << "\n"; |
| | 806 | exit(EXIT_FAILURE); |
| | 807 | } catch( ... ) { |
| | 808 | std::cout << "[DomainManager::establishServiceConnections] While opening Dev Config profile: Unknown Exception\n"; |
| | 809 | exit(EXIT_FAILURE); |
| | 810 | } |
| | 811 | |
| | 812 | DCDParser _dcdParser( _dcd ); |
| | 813 | _dcd->close(); |