NodeAlreadyExistsException Class
HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions
Section titled “HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions”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).
public sealed class NodeAlreadyExistsException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 NodeAlreadyExistsException
Remarks
Section titled “Remarks”The combination of Name, id of Root, and id of Parent of the node has to be unique in the repository.
This exception is identified by error code HK15128.
Properties
Section titled “Properties”NodeAlreadyExistsException.EquivalentHttpStatusCode Property
Section titled “NodeAlreadyExistsException.EquivalentHttpStatusCode Property”When unhandled within an HTTP request, this exception produces HTTP 400 (Bad Request).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!