ArcObjects Library Reference (GeoDatabase)  

ITopologyRuleContainer.PromoteToRuleException Method

Promotes a topology error to an exception.

[Visual Basic .NET]
Public Sub PromoteToRuleException ( _
    ByVal errorException As ITopologyErrorFeature _
public void PromoteToRuleException (
    ITopologyErrorFeature errorException
HRESULT PromoteToRuleException(
  ITopologyErrorFeature* errorException


errorException [in]

  errorException is a parameter of type ITopologyErrorFeature

Product Availability

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


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

.NET Related Topics

Working with topology errors