public static enum MessagingConnectorException.ExceptionType extends Enum<MessagingConnectorException.ExceptionType>
Enum Constant and Description |
---|
CONFIGURATION_EXCEPTION
Configuration exception (unknown host, host unreachable, 404, ...)
|
TIMEOUT
Connexion timed out
|
UNAUTHORIZED
The connexion is not authorized for this specific user
|
UNKNOWN
Nothing defined
|
Modifier and Type | Method and Description |
---|---|
static MessagingConnectorException.ExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessagingConnectorException.ExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessagingConnectorException.ExceptionType UNAUTHORIZED
public static final MessagingConnectorException.ExceptionType TIMEOUT
public static final MessagingConnectorException.ExceptionType CONFIGURATION_EXCEPTION
public static final MessagingConnectorException.ExceptionType UNKNOWN
public static MessagingConnectorException.ExceptionType[] values()
for (MessagingConnectorException.ExceptionType c : MessagingConnectorException.ExceptionType.values()) System.out.println(c);
public static MessagingConnectorException.ExceptionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null