ERegistryException is the exception class for registry errors.
ERegistryException = class(Exception);
class ERegistryException : public Exception;
ERegistryException is raised when an application cannot
Create a new key in the registry.
Read a data value associated with a key.
Read a binary data value associated with a key into a local buffer.
Write a data value to a key.
Key creation fails when an application attempts to create a subkey under a key for which it does not have KEY_CREATE_SUB_KEY security access.
Reading a data value associated with a key fails when an application does not have KEY_READ security access, or when the application attempts to read the wrong kind of data from a key (for example, attempting to read string data from an integer data value).
Reading a binary data value into a local buffer fails when an application does not allocate a buffer large enough for the data.
Writing a data value to a key fails because an application does not have KEY_WRITE security access for the current key.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|