com.microsoft.exchange.autodiscover
Enum ErrorCode

java.lang.Object
  extended by java.lang.Enum<ErrorCode>
      extended by com.microsoft.exchange.autodiscover.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<ErrorCode>

public enum ErrorCode
extends Enum<ErrorCode>

Java class for ErrorCode.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ErrorCode">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="NoError"/>
     <enumeration value="RedirectAddress"/>
     <enumeration value="RedirectUrl"/>
     <enumeration value="InvalidUser"/>
     <enumeration value="InvalidRequest"/>
     <enumeration value="InvalidSetting"/>
     <enumeration value="SettingIsNotAvailable"/>
     <enumeration value="ServerBusy"/>
     <enumeration value="InvalidDomain"/>
     <enumeration value="NotFederated"/>
     <enumeration value="InternalServerError"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
INTERNAL_SERVER_ERROR
           
INVALID_DOMAIN
           
INVALID_REQUEST
           
INVALID_SETTING
           
INVALID_USER
           
NO_ERROR
           
NOT_FEDERATED
           
REDIRECT_ADDRESS
           
REDIRECT_URL
           
SERVER_BUSY
           
SETTING_IS_NOT_AVAILABLE
           
 
Method Summary
static ErrorCode fromValue(String v)
           
 String value()
           
static ErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorCode[] 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

NO_ERROR

public static final ErrorCode NO_ERROR

REDIRECT_ADDRESS

public static final ErrorCode REDIRECT_ADDRESS

REDIRECT_URL

public static final ErrorCode REDIRECT_URL

INVALID_USER

public static final ErrorCode INVALID_USER

INVALID_REQUEST

public static final ErrorCode INVALID_REQUEST

INVALID_SETTING

public static final ErrorCode INVALID_SETTING

SETTING_IS_NOT_AVAILABLE

public static final ErrorCode SETTING_IS_NOT_AVAILABLE

SERVER_BUSY

public static final ErrorCode SERVER_BUSY

INVALID_DOMAIN

public static final ErrorCode INVALID_DOMAIN

NOT_FEDERATED

public static final ErrorCode NOT_FEDERATED

INTERNAL_SERVER_ERROR

public static final ErrorCode INTERNAL_SERVER_ERROR
Method Detail

values

public static ErrorCode[] 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 (ErrorCode c : ErrorCode.values())
    System.out.println(c);

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

valueOf

public static ErrorCode 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 name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static ErrorCode fromValue(String v)


Copyright © 2013 Jasig. All Rights Reserved.