Class UserSettingError
- java.lang.Object
-
- microsoft.exchange.webservices.data.autodiscover.exception.error.UserSettingError
-
public final class UserSettingError extends Object
Represents an error from a GetUserSettings request.
-
-
Constructor Summary
Constructors Modifier Constructor Description UserSettingError()Initializes a new instance of the "UserSettingError" class.protectedUserSettingError(AutodiscoverErrorCode errorCode, String errorMessage, String settingName)Initializes a new instance of the "UserSettingError" class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutodiscoverErrorCodegetErrorCode()Gets the error code.StringgetErrorMessage()Gets the error message.StringgetSettingName()Gets the name of the setting.voidloadFromXml(EwsXmlReader reader)Loads from XML.voidsetErrorCode(AutodiscoverErrorCode errorCode)voidsetErrorMessage(String errorMessage)voidsetSettingName(String settingName)
-
-
-
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 codeerrorMessage- The error messagesettingName- 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)
-
-