ArcObjects Library Reference (GeoDatabase)  

ITopologyRuleContainer.PromoteToRuleException Method

Promotes a topology error to an exception.

[Visual Basic .NET]
Public Sub PromoteToRuleException ( _
    ByVal errorException As ITopologyErrorFeature _
)
[C#]
public void PromoteToRuleException (
    ITopologyErrorFeature errorException
);
[C++]
HRESULT PromoteToRuleException(
  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 PromoteToRuleException method will promote the specified error to an exception feature.  On a topology in an ArcSDE geodatabase, PromoteToRuleException, 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 demote an exception or mark the exception as an error with the ITopologyRuleContainer::DemoteFromRuleException method.

See Also

ITopologyRuleContainer Interface