Enum AutodiscoverErrorCode
- java.lang.Object
-
- java.lang.Enum<AutodiscoverErrorCode>
-
- microsoft.exchange.webservices.data.autodiscover.enumeration.AutodiscoverErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<AutodiscoverErrorCode>
public enum AutodiscoverErrorCode extends Enum<AutodiscoverErrorCode>
Defines the error codes that can be returned by the Autodiscover service.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description InternalServerErrorThe Internal server error.InvalidDomainThe Invalid domain.InvalidRequestThe Invalid request.InvalidSettingThe Invalid setting.InvalidUserThe Invalid user.NoErrorThe No error.NotFederatedThe Not federated.RedirectAddressThe Redirect address.RedirectUrlThe Redirect url.ServerBusyThe Server busy.SettingIsNotAvailableThe Setting is not available.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutodiscoverErrorCodevalueOf(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.
-
-
-
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(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-