LoadContentsFromFile¶
-
virtual void IUpdatable::LoadContentsFromFile(const std::string &filename) = 0¶
Sets the contents of the updatable to the contents of the specified file.
- Parameters
filename – Name of file containing the new updatable contents.
- Throws
CInvalidConfigException
– File too small for this updatable.CUnsupportedException
– Setting updatable contents not supported (see product specific documentation).CResourceBusyException
– Entity is already busy with a transfer.COutOfResourcesException
– File too large for this updatable.CAccessDeniedException
– Unable to open file for reading.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.