|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.geodatabase.InvalidObjectInfo
public class InvalidObjectInfo
ESRI Invalid Object Info object.
Constructor Summary | |
---|---|
InvalidObjectInfo(Object obj)
Construct a InvalidObjectInfo using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getErrorDescription()
The description of the error in converting the feature/row. |
int |
getInvalidObjectID()
The object ID that did not get convert. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public InvalidObjectInfo(Object obj) throws IOException
obj
to InvalidObjectInfo
. *
InvalidObjectInfo o = (InvalidObjectInfo)obj; // will not work
InvalidObjectInfo o = new InvalidObjectInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
InvalidObjectInfo theInvalidObjectInfo = (InvalidObjectInfo) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getInvalidObjectID() throws IOException, AutomationException
The InvalidObjectID will be �1 unless the source data is in a geodatabase.
getInvalidObjectID
in interface IInvalidObjectInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getErrorDescription() throws IOException, AutomationException
The IInvalidObjectInfo interface returns information about an object that could not be loaded.
One example of ErrorDescription is: �The coordinates or measures are out of bounds.�
getErrorDescription
in interface IInvalidObjectInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |