Enum ConnectionFailureCause
- java.lang.Object
-
- java.lang.Enum<ConnectionFailureCause>
-
- microsoft.exchange.webservices.data.core.enumeration.service.error.ConnectionFailureCause
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectionFailureCause>
public enum ConnectionFailureCause extends Enum<ConnectionFailureCause>
The ConnectionFailureCause enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NoAnswerThe No answer.NoneThe None.OtherThe Other.UnavailableThe Unavailable.UserBusyThe User busy.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectionFailureCausevalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionFailureCause[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final ConnectionFailureCause None
The None.
-
UserBusy
public static final ConnectionFailureCause UserBusy
The User busy.
-
NoAnswer
public static final ConnectionFailureCause NoAnswer
The No answer.
-
Unavailable
public static final ConnectionFailureCause Unavailable
The Unavailable.
-
Other
public static final ConnectionFailureCause Other
The Other.
-
-
Method Detail
-
values
public static ConnectionFailureCause[] 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 (ConnectionFailureCause c : ConnectionFailureCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionFailureCause 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
-
-