com.esri.arcgis.geodatabase
Class IEventSourceErrorsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IEventSourceErrorsProxy
All Implemented Interfaces:
IEventSourceErrors, Externalizable, Serializable

public class IEventSourceErrorsProxy
extends com.esri.arcgis.interop.Dispatch
implements IEventSourceErrors, 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.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IEventSourceErrorsProxy()
           
  IEventSourceErrorsProxy(Object obj)
           
protected IEventSourceErrorsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEventSourceErrorsProxy

public IEventSourceErrorsProxy()

IEventSourceErrorsProxy

public IEventSourceErrorsProxy(Object obj)
                        throws IOException
Throws:
IOException

IEventSourceErrorsProxy

protected IEventSourceErrorsProxy(Object obj,
                                  String iid)
                           throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getErrors

public 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

Specified by:
getErrors in interface IEventSourceErrors
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

public 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

Specified by:
getErrorCursor in interface IEventSourceErrors
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

public 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

Specified by:
getLocatingErrorOID in interface IEventSourceErrors
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

public 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

Specified by:
getLocatingErrorRow in interface IEventSourceErrors
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.