com.esri.arcgis.gisclient
Interface IWCSServiceExceptionHandler

All Superinterfaces:
Serializable
All Known Implementing Classes:
WCSServiceExceptionHandler

public interface IWCSServiceExceptionHandler
extends Serializable

Provides access to members that provide WCS error descriptions.

Description

This interface is new at ArcGIS 9.3.

Product Availability

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


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

Method Detail

parseExceptions

void parseExceptions(String fileOrURL)
                     throws IOException,
                            AutomationException
Parses the response to the give URL for any WCS 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
WCS 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 wcsErrorCode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExceptionDescription

String getExceptionDescription(int index)
                               throws IOException,
                                      AutomationException
WCS 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 wcsErrorDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.