ArcObjects Library Reference (GeoDatabase)  

ITopologyRuleContainer.DemoteFromRuleException Method

Demotes a topology error from an exception to an error.

[Visual Basic .NET]
Public Sub DemoteFromRuleException ( _
    ByVal errorException As ITopologyErrorFeature _
)
[C#]
public void DemoteFromRuleException (
    ITopologyErrorFeature errorException
);
[C++]
HRESULT DemoteFromRuleException(
  ITopologyErrorFeature* errorException
);
[C++]

Parameters

errorException [in]

  errorException is a parameter of type ITopologyErrorFeature

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The DemoteFromRuleException method will demote an exception feature from an exception to an error. On a topology in an ArcSDE geodatabase, DemoteFromRuleException, must be called from within an edit session and edit operation. Topology Exceptions arise when a topology rule is purposefully violated.  Marking purposeful topology errors as exceptions allows other clients of the topology to handle them in an appropriate or specific manner, e.g., in reporting or symbolization.

Note that it is also possible to promote an error or mark the error as an exception with the ITopologyRuleContainer::PromoteToRuleException method.

See Also

ITopologyRuleContainer Interface