microsoft.exchange.webservices.data.autodiscover.exception.error
Class UserSettingError

java.lang.Object
  extended by microsoft.exchange.webservices.data.autodiscover.exception.error.UserSettingError

public final class UserSettingError
extends Object

Represents an error from a GetUserSettings request.


Constructor Summary
  UserSettingError()
          Initializes a new instance of the "UserSettingError" class.
protected UserSettingError(AutodiscoverErrorCode errorCode, String errorMessage, String settingName)
          Initializes a new instance of the "UserSettingError" class.
 
Method Summary
 AutodiscoverErrorCode getErrorCode()
          Gets the error code.
 String getErrorMessage()
          Gets the error message.
 String getSettingName()
          Gets the name of the setting.
 void loadFromXml(EwsXmlReader reader)
          Loads from XML.
 void setErrorCode(AutodiscoverErrorCode errorCode)
           
 void setErrorMessage(String errorMessage)
           
 void setSettingName(String settingName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSettingError

public UserSettingError()
Initializes a new instance of the "UserSettingError" class.


UserSettingError

protected UserSettingError(AutodiscoverErrorCode errorCode,
                           String errorMessage,
                           String settingName)
Initializes a new instance of the "UserSettingError" class.

Parameters:
errorCode - The error code
errorMessage - The error message
settingName - Name of the setting
Method Detail

loadFromXml

public void loadFromXml(EwsXmlReader reader)
                 throws Exception
Loads from XML.

Parameters:
reader - The reader.
Throws:
Exception - the exception

getErrorCode

public AutodiscoverErrorCode getErrorCode()
Gets the error code.

Returns:
The error code.

setErrorCode

public void setErrorCode(AutodiscoverErrorCode errorCode)

getErrorMessage

public String getErrorMessage()
Gets the error message.

Returns:
The error message.

setErrorMessage

public void setErrorMessage(String errorMessage)

getSettingName

public String getSettingName()
Gets the name of the setting.

Returns:
The name of the setting.

setSettingName

public void setSettingName(String settingName)


Copyright © 2012–2015 Microsoft. All rights reserved.