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.

System.Object
   System.Exception
      System.ApplicationException
         XRules.DynamicDomException
            XRules.RuleViolationException
               XRules.ReadOnlyParticleException

[Visual Basic]
Public Class RuleViolationException
    Inherits DynamicDomException
[C#]
public class RuleViolationException : DynamicDomException
[C++]
public __gc class RuleViolationException : public DynamicDomException
[JScript]
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.

Remarks

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).

Requirements

Namespace: XRules

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

See Also

RuleViolationException Members | XRules Namespace