CannotChangeNodeRootException Class
HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions
Section titled “HAKOM.TSM.Net.Api.Attributes.Persistence.Exceptions”Indicates that an attempt was made to change the root of an existing node.
public sealed class CannotChangeNodeRootException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 CannotChangeNodeRootException
Remarks
Section titled “Remarks”The root attribute of a node cannot be changed after the node has been created. To move a node to a different root, delete it and re-create it under the desired root.
This exception is identified by error code HK15132.
Properties
Section titled “Properties”CannotChangeNodeRootException.EquivalentHttpStatusCode Property
Section titled “CannotChangeNodeRootException.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!