com.moyosoft.exchange
Class ExchangeServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.moyosoft.exchange.ExchangeServiceException
All Implemented Interfaces:
java.io.Serializable

public class ExchangeServiceException
extends java.lang.Exception

Indicates an error returned by the Exchange server or a communication problem with the server.

See Also:
Serialized Form

Constructor Summary
ExchangeServiceException(java.lang.String message)
           
ExchangeServiceException(java.lang.String message, ExchangeResponseCode responseCode)
           
ExchangeServiceException(java.lang.String message, ExchangeResponseCode responseCode, java.lang.String debugDetails)
           
ExchangeServiceException(java.lang.String message, ExchangeResponseCode responseCode, java.lang.Throwable cause)
           
ExchangeServiceException(java.lang.String message, ExchangeResponseCode responseCode, java.lang.Throwable cause, java.lang.String debugDetails)
           
ExchangeServiceException(java.lang.String message, java.lang.String debugDetails)
           
ExchangeServiceException(java.lang.String message, java.lang.Throwable cause)
           
ExchangeServiceException(java.lang.String message, java.lang.Throwable cause, java.lang.String debugDetails)
           
 
Method Summary
 java.lang.String getDetails()
          Returns debugging details about the error.
 ExchangeResponseCode getResponseCode()
          Returns the error code received from the Exchange server or null for other errors.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExchangeServiceException

public ExchangeServiceException(java.lang.String message)

ExchangeServiceException

public ExchangeServiceException(java.lang.String message,
                                ExchangeResponseCode responseCode)

ExchangeServiceException

public ExchangeServiceException(java.lang.String message,
                                java.lang.Throwable cause)

ExchangeServiceException

public ExchangeServiceException(java.lang.String message,
                                ExchangeResponseCode responseCode,
                                java.lang.Throwable cause)

ExchangeServiceException

public ExchangeServiceException(java.lang.String message,
                                java.lang.Throwable cause,
                                java.lang.String debugDetails)

ExchangeServiceException

public ExchangeServiceException(java.lang.String message,
                                ExchangeResponseCode responseCode,
                                java.lang.Throwable cause,
                                java.lang.String debugDetails)

ExchangeServiceException

public ExchangeServiceException(java.lang.String message,
                                java.lang.String debugDetails)

ExchangeServiceException

public ExchangeServiceException(java.lang.String message,
                                ExchangeResponseCode responseCode,
                                java.lang.String debugDetails)
Method Detail

getDetails

public java.lang.String getDetails()
Returns debugging details about the error.


getResponseCode

public ExchangeResponseCode getResponseCode()
Returns the error code received from the Exchange server or null for other errors.