DynamicDOM v0.43.2. Implementation based on XRules v0.43

RuleViolationException Class

Raised when a change to an XML node or property violates one or more rules in the XRules document attached to the DXmlDocument being changed.

For a list of all members of this type, see RuleViolationException Members.


[Visual Basic]
Public Class RuleViolationException
    Inherits DynamicDomException
public class RuleViolationException : DynamicDomException
public __gc class RuleViolationException : public DynamicDomException
public class RuleViolationException extends DynamicDomException

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


This exception is used only in Strict Error Handling mode (not implemented yet as of version 0.43.2) because in the relaxed mode (the only mode currently implemented), the change should be allowed without an exception. This exception provides a list of the nodes that failed the validation and a reference to the failed rule, and also the context node, and the error message (basically, the same information that is provided in the Error Report in the Relaxed Error Handling mode).


Namespace: XRules

Assembly: XRules.DynamicDom (in XRules.DynamicDom.dll)

See Also

RuleViolationException Members | XRules Namespace