HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions Namespace
Exceptions thrown during attribute and node persistence operations.
Remarks
Section titled “Remarks”All exceptions in this namespace inherit from HakomException and carry unique HK error codes. They cover scenarios such as duplicate names, missing entities, circular node references, and invalid identifiers.
| Classes | |
|---|---|
| AttributeAssignmentsExistException | Indicates that an attribute cannot be deleted because there are still assignments that refer to it. |
| AttributeNameAlreadyExistsException | Indicates that an attempt was made to save or update an attribute with a name, wich already exists in the repository. |
| AttributeNotFoundException | Indicates that an attempt was made to interact with an attribute that is not defined in the given store. |
| AttributeTypeNotFoundException | Indicates that an attempt was made to interact with an attribute type that is not defined in the given store. |
| CannotChangeNodeRootException | Indicates that an attempt was made to change the root of an existing node. |
| CircularNodeTreeException | Indicates an attempt to save or update a node that would result in a circular tree structure. |
| CouldNotDeleteAttributeDataException | Indicates that the attribute data from the configured time series-attribute assignment could not be deleted. |
| CouldNotUpdateAttributeValueException | Indicates that the attribute value from the configured time series-attribute assignment could not be updated. |
| CouldNotWriteAttributeDataException | Indicates that an attempt to write attribute data for the configured time series-attribute assignment has failed. |
| DeletingAttributeDataAndAttributeValueFailedException | Indicates that deleting attribute data and the associated attribute value from the configured time series-attribute assignment failed. |
| InvalidAttributeTypeIdentifierException | Indicates that a attribute type operation was attempted with an invalid attribute type identifier. |
| InvalidNodeStorageInformationException | Indicates that an attempt was made to load, save, update or delete a INodeReference to or from a INodeStore with an different repository or the parent or root of the node has a different repository. |
| NoAttributeDataFoundException | Indicates that no attribute data was found for the configured time series-attribute assignment. |
| NodeAlreadyExistsException | Indicates that an attempt was made to create a node with Parent, Root and Name combination that already exists. Since the truple (name, parent and root) is a unique identifier for a node, you cannot have 2 Nodes with the same (name, parent and root). |
| NodeNotFoundException | Indicates that an attempt was made to interact with a node that does not exist in the given store. |
| NodeRootNotFoundException | Indicates that an attempt was made to access/modify/delete the root of a node that has a non-existent attribute id. |
Was this page helpful?Thanks for your feedback!