SetContents¶
-
virtual void IUpdatable::SetContents(const std::vector<uint8_t> &contents) = 0¶
Sets the contents of the updatable.
- Parameters
contents – Vector containing updatable contents.
- Throws
CInvalidConfigException
– Specified contents is too small for this updatable.CUnsupportedException
– Setting updatable contents not supported (see product specific documentation).CIncompatibleException
– Entity is not compatible with the hardware interface product number of the controller.CResourceBusyException
– Entity is already busy with a transfer.COutOfResourcesException
– Specified contents is too large for this updatable.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.