com.esri.arcgis.geodatabase
Interface IEventSourceErrors

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEventSourceErrorsProxy, RouteEventSource

public interface IEventSourceErrors
extends Serializable

Provides access to members that deal with event source errors.

Remarks

In a RouteEventSource, there is one feature for every row of the original event table. In some cases, however, the features have empty shapes. This is because there was some reason the event could not be properly located. Other times, an event can only be partially located (this happens for line events only). The IEventSourceErrors interface exposes some methods that allow you to determine the locating errors of events.

Product Availability

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


Method Summary
 ICursor getErrorCursor(IQueryFilter filter)
          The cursor of the events with locating errors.
 IEnumEventError getErrors()
          The enumerator of the event source errors.
 int getLocatingErrorOID(int oID)
          The locating error associated with an event's OID.
 int getLocatingErrorRow(IRow row)
          The locating error associated with a row.
 

Method Detail

getErrors

IEnumEventError getErrors()
                          throws IOException,
                                 AutomationException
The enumerator of the event source errors.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumEventError
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorCursor

ICursor getErrorCursor(IQueryFilter filter)
                       throws IOException,
                              AutomationException
The cursor of the events with locating errors.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
filter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocatingErrorOID

int getLocatingErrorOID(int oID)
                        throws IOException,
                               AutomationException
The locating error associated with an event's OID.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
oID - The oID (in)
Returns:
A com.esri.arcgis.geodatabase.esriLocatingError constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocatingErrorRow

int getLocatingErrorRow(IRow row)
                        throws IOException,
                               AutomationException
The locating error associated with a row.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
row - A reference to a com.esri.arcgis.geodatabase.IRow (in)
Returns:
A com.esri.arcgis.geodatabase.esriLocatingError constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.