microsoft.exchange.webservices.data
Enum AutodiscoverErrorCode

java.lang.Object
  extended by java.lang.Enum<AutodiscoverErrorCode>
      extended by microsoft.exchange.webservices.data.AutodiscoverErrorCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AutodiscoverErrorCode>

public enum AutodiscoverErrorCode
extends java.lang.Enum<AutodiscoverErrorCode>

Defines the error codes that can be returned by the Autodiscover service.


Enum Constant Summary
InternalServerError
          The Internal server error.
InvalidDomain
          The Invalid domain.
InvalidRequest
          The Invalid request.
InvalidSetting
          The Invalid setting.
InvalidUser
          The Invalid user.
NoError
          The No error.
NotFederated
          The Not federated.
RedirectAddress
          The Redirect address.
RedirectUrl
          The Redirect url.
ServerBusy
          The Server busy.
SettingIsNotAvailable
          The Setting is not available.
 
Method Summary
static AutodiscoverErrorCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AutodiscoverErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NoError

public static final AutodiscoverErrorCode NoError
The No error.


RedirectAddress

public static final AutodiscoverErrorCode RedirectAddress
The Redirect address.


RedirectUrl

public static final AutodiscoverErrorCode RedirectUrl
The Redirect url.


InvalidUser

public static final AutodiscoverErrorCode InvalidUser
The Invalid user.


InvalidRequest

public static final AutodiscoverErrorCode InvalidRequest
The Invalid request.


InvalidSetting

public static final AutodiscoverErrorCode InvalidSetting
The Invalid setting.


SettingIsNotAvailable

public static final AutodiscoverErrorCode SettingIsNotAvailable
The Setting is not available.


ServerBusy

public static final AutodiscoverErrorCode ServerBusy
The Server busy.


InvalidDomain

public static final AutodiscoverErrorCode InvalidDomain
The Invalid domain.


NotFederated

public static final AutodiscoverErrorCode NotFederated
The Not federated.


InternalServerError

public static final AutodiscoverErrorCode InternalServerError
The Internal server error.

Method Detail

values

public static AutodiscoverErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AutodiscoverErrorCode c : AutodiscoverErrorCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AutodiscoverErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null