Compoze Software, Inc.

com.compoze.exchange.webdav
Class ExchangeResponseException


java.lang.Object

  |

  +--java.lang.Throwable

        |

        +--java.lang.Exception

              |

              +--com.compoze.util.NestedException

                    |

                    +--com.compoze.exchange.ExchangeException

                          |

                          +--com.compoze.exchange.webdav.ExchangeResponseException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ItemExistsException

public class ExchangeResponseException
extends ExchangeException
implements java.io.Serializable

This class wraps the unsuccessful responses (with status codes >= 300) from WebDAV operations as excpetions.

See Also:
Serialized Form

Constructor Summary
ExchangeResponseException(int iStatusCode, java.lang.String sMessage)
          Constructor.
 
Method Summary
 int getStatusCode()
          Gets the status code of this exception.
 java.lang.String toString()
          Method description.
 
Methods inherited from class com.compoze.exchange.ExchangeException
getResultCode, getUserMessage
 
Methods inherited from class com.compoze.util.NestedException
getNestedException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExchangeResponseException


public ExchangeResponseException(int iStatusCode,
                                 java.lang.String sMessage)
Constructor.
Parameters:
iStatusCode - a status code for the exception.
sMessage - a detail message for the exception
Method Detail

getStatusCode


public int getStatusCode()
Gets the status code of this exception.
Parameters:
the - status code for the exception.

toString


public java.lang.String toString()
Method description.
Overrides:
toString in class NestedException

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.