Changeset 11043
- Timestamp:
- 03/05/12 09:06:04 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jsnyder/trunk/system/ossie/framework/LoadableDevice_impl.cpp
r9807 r11043 82 82 ("Cannot load. System is either LOCKED, SHUTTING DOWN or DISABLED.")); 83 83 } 84 85 // verify that the loadKind is supported (only executable is supported by this version) 86 if (loadKind != CF::LoadableDevice::EXECUTABLE) {87 throw CF::LoadableDevice::InvalidLoadKind ();88 }89 84 // verify that the loadKind is supported (only executable and shared libraries are supported) 85 if (!(loadKind == CF::LoadableDevice::EXECUTABLE || loadKind == CF::LoadableDevice::SHARED_LIBRARY)) { 86 throw CF::LoadableDevice::InvalidLoadKind (); 87 } 88 else 89 loadType = loadKind; 90 90 // verify the file name exists in the file system and get a pointer to it 91 91 // NOTE: in this context, this step is redundant; the 'installApplication' method