|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.GPMessageManager
public class GPMessageManager
Esri GPMessageManager object.
Constructor Summary | |
---|---|
GPMessageManager()
Constructs a GPMessageManager using ArcGIS Engine. |
|
GPMessageManager(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPMessageManager theGPMessageManager = (GPMessageManager) obj; |
Method Summary | |
---|---|
void |
addMessage(int type,
int iD,
IGPMessages msgs)
Add a given message from the message id to the messages object. |
void |
addMessage1Args(int type,
int iD,
String arg1,
IGPMessages msgs)
Add a given message from the message id to the messages object. |
void |
addMessage2Args(int type,
int iD,
String arg1,
String arg2,
IGPMessages msgs)
Add a given message from the message id to the messages object. |
void |
addMessageText(int type,
int iD,
String msg,
IGPMessages msgs)
Add a given message from the message text to the messages object. |
void |
chainMessage(int type,
int iD)
Chain a given message from the message id. |
void |
chainMessage1Args(int type,
int iD,
String arg1)
Chain a given message from the message id. |
void |
chainMessage2Args(int type,
int iD,
String arg1,
String arg2)
Chain a given message from the message id. |
void |
chainMessageText(int type,
int iD,
String msg)
Chain a given message from the message text. |
void |
checkForErrors(long fdoError,
IGPMessages messages,
boolean keepAllErrors)
Check for any errors in the IErrorInfo structure. |
boolean |
equals(Object o)
Compare this object with another |
String |
generateMessage(int type,
int iD)
Generate a given message from the message id. |
static String |
getClsid()
getClsid. |
String |
getMessage(int iD)
Get a given message. |
int |
hashCode()
the hashcode for this object |
void |
lookForGPChainedErrors(IGPMessages messages)
Transfer any GP errors or warnings to the messages object. |
void |
setMessage(int type,
int iD,
int pos,
IGPMessages msgs)
Set a given message from the message id to the messages object. |
void |
setMessage1Args(int type,
int iD,
String arg1,
int pos,
IGPMessages msgs)
Set a given message from the message id to the messages object. |
void |
setMessage2Args(int type,
int iD,
String arg1,
String arg2,
int pos,
IGPMessages msgs)
Set a given message from the message id to the messages object. |
void |
setMessageText(int type,
int iD,
String msg,
int pos,
IGPMessages msgs)
Set a given message from the message text to the messages 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 GPMessageManager() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GPMessageManager(Object obj) throws IOException
GPMessageManager theGPMessageManager = (GPMessageManager) obj;
obj
to GPMessageManager
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getMessage(int iD) throws IOException, AutomationException
getMessage
in interface IGPMessageManager
iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String generateMessage(int type, int iD) throws IOException, AutomationException
generateMessage
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addMessage(int type, int iD, IGPMessages msgs) throws IOException, AutomationException
addMessage
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addMessage1Args(int type, int iD, String arg1, IGPMessages msgs) throws IOException, AutomationException
addMessage1Args
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)arg1
- The arg1 (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addMessage2Args(int type, int iD, String arg1, String arg2, IGPMessages msgs) throws IOException, AutomationException
addMessage2Args
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)arg1
- The arg1 (in)arg2
- The arg2 (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addMessageText(int type, int iD, String msg, IGPMessages msgs) throws IOException, AutomationException
addMessageText
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)msg
- The msg (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMessage(int type, int iD, int pos, IGPMessages msgs) throws IOException, AutomationException
setMessage
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)pos
- The pos (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMessage1Args(int type, int iD, String arg1, int pos, IGPMessages msgs) throws IOException, AutomationException
setMessage1Args
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)arg1
- The arg1 (in)pos
- The pos (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMessage2Args(int type, int iD, String arg1, String arg2, int pos, IGPMessages msgs) throws IOException, AutomationException
setMessage2Args
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)arg1
- The arg1 (in)arg2
- The arg2 (in)pos
- The pos (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMessageText(int type, int iD, String msg, int pos, IGPMessages msgs) throws IOException, AutomationException
setMessageText
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)msg
- The msg (in)pos
- The pos (in)msgs
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void chainMessage(int type, int iD) throws IOException, AutomationException
chainMessage
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void chainMessage1Args(int type, int iD, String arg1) throws IOException, AutomationException
chainMessage1Args
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)arg1
- The arg1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void chainMessage2Args(int type, int iD, String arg1, String arg2) throws IOException, AutomationException
chainMessage2Args
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)arg1
- The arg1 (in)arg2
- The arg2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void chainMessageText(int type, int iD, String msg) throws IOException, AutomationException
chainMessageText
in interface IGPMessageManager
type
- A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)iD
- The iD (in)msg
- The msg (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void checkForErrors(long fdoError, IGPMessages messages, boolean keepAllErrors) throws IOException, AutomationException
checkForErrors
in interface IGPMessageManager
fdoError
- An error code (in)messages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)keepAllErrors
- The keepAllErrors (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void lookForGPChainedErrors(IGPMessages messages) throws IOException, AutomationException
lookForGPChainedErrors
in interface IGPMessageManager
messages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |