com.esri.arcgis.geodatabase
Interface IFieldError

All Superinterfaces:
Serializable
All Known Implementing Classes:
FieldError, IFieldErrorProxy

public interface IFieldError
extends Serializable

Provides access to field name errors.

Description

IFieldError objects are contained in an IEnumFieldError object that only gets propagated when the IFieldChecker .Validate method is used. The IFieldError contains the field index and the type of error (as esriFieldNameErrorType ) that was found.

Product Availability

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

See Also:
esriFieldNameErrorType, IFieldChecker

Method Summary
 int getFieldError()
          Resets the enumeration sequence to the beginning.
 int getFieldIndex()
          Field index for the current field error.
 

Method Detail

getFieldIndex

int getFieldIndex()
                  throws IOException,
                         AutomationException
Field index for the current field error.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The fieldIndex
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldError

int getFieldError()
                  throws IOException,
                         AutomationException
Resets the enumeration sequence to the beginning.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriFieldNameErrorType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.