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