ArcGIS Developer Help  (GeoDatabase)    

ITopologyRuleContainer.PromoteToRuleException Method

Promotes a topology error to an exception.

[Visual Basic 6.0]
Sub PromoteToRuleException(
    ByVal errorException As ITopologyErrorFeature _
)
[Visual Basic .NET]
Public Sub PromoteToRuleException ( _
    ByVal errorException As ITopologyErrorFeature _
)
[C#]
public void PromoteToRuleException (
    ITopologyErrorFeature errorException
);
[Java]
public void promoteToRuleException (
    ITopologyErrorFeature errorException
)
throws
    IOException,
    AutomationException
[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 a versioned geodatabase, PromoteToRuleException , must be called from within an edit session and edit operation.  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

Example

ITopologyRule GUID Example

 


Feedback Send feedback on this page