com.esri.arcgis.geodatabase
Interface IGPMessage2

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPMessage

public interface IGPMessage2
extends Serializable

Provides access to the properties of a Geoprocessor message.

Description

This interface is new at ArcGIS 9.3.

Product Availability

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


Method Summary
 void createIDMessage(int type, int errorCode)
          Creates the error or warning message with code ID.
 void createIDMessage1Args(int type, int errorCode, String arg)
          Creates the error or warning message with code ID, one argument.
 void createIDMessage2Args(int type, int errorCode, String arg1, String arg2)
          Creates the error or warning message with code ID, two arguments.
 

Method Detail

createIDMessage

void createIDMessage(int type,
                     int errorCode)
                     throws IOException,
                            AutomationException
Creates the error or warning message with code ID.

Product Availability

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

Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
errorCode - The errorCode (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createIDMessage1Args

void createIDMessage1Args(int type,
                          int errorCode,
                          String arg)
                          throws IOException,
                                 AutomationException
Creates the error or warning message with code ID, one argument.

Product Availability

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

Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
errorCode - The errorCode (in)
arg - The arg (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createIDMessage2Args

void createIDMessage2Args(int type,
                          int errorCode,
                          String arg1,
                          String arg2)
                          throws IOException,
                                 AutomationException
Creates the error or warning message with code ID, two arguments.

Product Availability

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

Parameters:
type - A com.esri.arcgis.geodatabase.esriGPMessageType constant (in)
errorCode - The errorCode (in)
arg1 - The arg1 (in)
arg2 - The arg2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.