microsoft.exchange.webservices.data
Class AutodiscoverResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by microsoft.exchange.webservices.data.ServiceRemoteException
              extended by microsoft.exchange.webservices.data.AutodiscoverResponseException
All Implemented Interfaces:
java.io.Serializable

public class AutodiscoverResponseException
extends ServiceRemoteException

Represents an exception from an autodiscover error response.

See Also:
Serialized Form

Constructor Summary
protected AutodiscoverResponseException(AutodiscoverErrorCode errorCode, java.lang.String message)
          Initializes a new instance of the class.
 
Method Summary
 AutodiscoverErrorCode getErrorCode()
          Gets the ErrorCode for the exception.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutodiscoverResponseException

protected AutodiscoverResponseException(AutodiscoverErrorCode errorCode,
                                        java.lang.String message)
Initializes a new instance of the class.

Parameters:
errorCode - the error code
message - the message
Method Detail

getErrorCode

public AutodiscoverErrorCode getErrorCode()
Gets the ErrorCode for the exception.

Returns:
the error code