Enum MessagingConnectorException.ExceptionType
- java.lang.Object
-
- java.lang.Enum<MessagingConnectorException.ExceptionType>
-
- org.ametys.plugins.messagingconnector.MessagingConnectorException.ExceptionType
-
- All Implemented Interfaces:
Serializable
,Comparable<MessagingConnectorException.ExceptionType>
- Enclosing class:
- MessagingConnectorException
public static enum MessagingConnectorException.ExceptionType extends Enum<MessagingConnectorException.ExceptionType>
Information about the exception
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION_EXCEPTION
Configuration exception (unknown host, host unreachable, 404, ...)TIMEOUT
Connexion timed outUNAUTHORIZED
The connexion is not authorized for this specific userUNKNOWN
Nothing defined
-
Constructor Summary
Constructors Modifier Constructor Description private
ExceptionType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
UNAUTHORIZED
public static final MessagingConnectorException.ExceptionType UNAUTHORIZED
The connexion is not authorized for this specific user
-
TIMEOUT
public static final MessagingConnectorException.ExceptionType TIMEOUT
Connexion timed out
-
CONFIGURATION_EXCEPTION
public static final MessagingConnectorException.ExceptionType CONFIGURATION_EXCEPTION
Configuration exception (unknown host, host unreachable, 404, ...)
-
UNKNOWN
public static final MessagingConnectorException.ExceptionType UNKNOWN
Nothing defined
-
-
Constructor Detail
-
ExceptionType
private ExceptionType()
-
-
Method Detail
-
values
public static MessagingConnectorException.ExceptionType[] 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 (MessagingConnectorException.ExceptionType c : MessagingConnectorException.ExceptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessagingConnectorException.ExceptionType 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
-
-