com.esri.arcgis.gisclient
Class WCSServiceExceptionHandler

java.lang.Object
  extended by com.esri.arcgis.gisclient.WCSServiceExceptionHandler
All Implemented Interfaces:
IWCSServiceExceptionHandler, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class WCSServiceExceptionHandler
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IWCSServiceExceptionHandler

WCS Service Exception Handler.

Description

This object is new at ArcGIS 9.3.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
WCSServiceExceptionHandler()
          Constructs a WCSServiceExceptionHandler using ArcGIS Engine.
WCSServiceExceptionHandler(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WCSServiceExceptionHandler theWCSServiceExceptionHandler = (WCSServiceExceptionHandler) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 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.
 int hashCode()
          the hashcode for this object
 void parseExceptions(String fileOrURL)
          Parses the response to the give URL for any WCS error codes and descriptions.
 
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

WCSServiceExceptionHandler

public WCSServiceExceptionHandler()
                           throws IOException,
                                  UnknownHostException
Constructs a WCSServiceExceptionHandler using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

WCSServiceExceptionHandler

public WCSServiceExceptionHandler(Object obj)
                           throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WCSServiceExceptionHandler theWCSServiceExceptionHandler = (WCSServiceExceptionHandler) obj;

Construct a WCSServiceExceptionHandler using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to WCSServiceExceptionHandler.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

parseExceptions

public 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.

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

getExceptionCount

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

Product Availability

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

Specified by:
getExceptionCount in interface IWCSServiceExceptionHandler
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExceptionCode

public 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.

Specified by:
getExceptionCode in interface IWCSServiceExceptionHandler
Parameters:
index - The index (in)
Returns:
The wcsErrorCode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExceptionDescription

public 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.

Specified by:
getExceptionDescription in interface IWCSServiceExceptionHandler
Parameters:
index - The index (in)
Returns:
The wcsErrorDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.