Enum Enums.ConnectionError
- java.lang.Object
-
- java.lang.Enum<Enums.ConnectionError>
-
- com.blackberry.workspaces.api.sdk.Enums.ConnectionError
-
- All Implemented Interfaces:
Serializable
,Comparable<Enums.ConnectionError>
- Enclosing class:
- Enums
public static enum Enums.ConnectionError extends Enum<Enums.ConnectionError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ApplicationServerNotFound
ApplicationServerNotFoundApplicationServerNotFoundViaProxy
ApplicationServerNotFoundViaProxyInvalidURI
InvalidURINoError
NoErrorProxyAuthenticationFailed
ProxyAuthenticationFailedProxyAuthenticationRequired
ProxyAuthenticationRequiredProxyServerNotFound
ProxyServerNotFoundUnknownError
UnknownErrorUntrustedServer
UntrustedServer
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Enums.ConnectionError
valueOf(String name)
Returns the enum constant of this type with the specified name.static Enums.ConnectionError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NoError
public static final Enums.ConnectionError NoError
NoError
-
ProxyServerNotFound
public static final Enums.ConnectionError ProxyServerNotFound
ProxyServerNotFound
-
ProxyAuthenticationRequired
public static final Enums.ConnectionError ProxyAuthenticationRequired
ProxyAuthenticationRequired
-
ProxyAuthenticationFailed
public static final Enums.ConnectionError ProxyAuthenticationFailed
ProxyAuthenticationFailed
-
ApplicationServerNotFound
public static final Enums.ConnectionError ApplicationServerNotFound
ApplicationServerNotFound
-
ApplicationServerNotFoundViaProxy
public static final Enums.ConnectionError ApplicationServerNotFoundViaProxy
ApplicationServerNotFoundViaProxy
-
UntrustedServer
public static final Enums.ConnectionError UntrustedServer
UntrustedServer
-
InvalidURI
public static final Enums.ConnectionError InvalidURI
InvalidURI
-
UnknownError
public static final Enums.ConnectionError UnknownError
UnknownError
-
-
Method Detail
-
values
public static Enums.ConnectionError[] 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 (Enums.ConnectionError c : Enums.ConnectionError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Enums.ConnectionError 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
-
-