com.esri.arcgis.gisclient
Interface IWMSServiceExceptionHandler

All Superinterfaces:
Serializable
All Known Implementing Classes:
WMSServiceExceptionHandler

public interface IWMSServiceExceptionHandler
extends Serializable

Provides access to members that provide WMS error descriptions.

Product Availability

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


Method Summary
 String getExceptionCode(int index)
          WMS service exception code at the given index.
 int getExceptionCount()
          Number of exceptions.
 String getExceptionDescription(int index)
          WMS service exception description at the given index.
 void parseExceptions(String fileOrURL)
          Parses the response to the give URL for any WMS error codes and descriptions.
 

Method Detail

parseExceptions

void parseExceptions(String fileOrURL)
                     throws IOException,
                            AutomationException
Parses the response to the give URL for any WMS error codes and descriptions.

Product Availability

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

Parameters:
fileOrURL - The fileOrURL (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExceptionCount

int getExceptionCount()
                      throws IOException,
                             AutomationException
Number of exceptions.

Product Availability

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

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

getExceptionCode

String getExceptionCode(int index)
                        throws IOException,
                               AutomationException
WMS service exception code at the given index.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The wmsErrorCode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExceptionDescription

String getExceptionDescription(int index)
                               throws IOException,
                                      AutomationException
WMS service exception description at the given index.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The wmsErrorDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.