com.esri.arcgis.geodatabase
Interface IFieldError

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FieldError, IFieldErrorProxy

public interface IFieldError
extends java.io.Serializable

Provides access to field name errors.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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.


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

Method Detail

getFieldIndex

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

Supported Platforms

Windows, Solaris, Linux

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

getFieldError

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

Supported Platforms

Windows, Solaris, Linux

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