Enum AS4ErrorMapper.ErrorCode
- java.lang.Object
-
- java.lang.Enum<AS4ErrorMapper.ErrorCode>
-
- org.wso2.carbon.mediation.connector.exceptions.AS4ErrorMapper.ErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<AS4ErrorMapper.ErrorCode>
- Enclosing class:
- AS4ErrorMapper
public static enum AS4ErrorMapper.ErrorCode extends Enum<AS4ErrorMapper.ErrorCode>
Error codes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCodeString()
static AS4ErrorMapper.ErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AS4ErrorMapper.ErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EBMS0001
public static final AS4ErrorMapper.ErrorCode EBMS0001
-
EBMS0002
public static final AS4ErrorMapper.ErrorCode EBMS0002
-
EBMS0003
public static final AS4ErrorMapper.ErrorCode EBMS0003
-
EBMS0004
public static final AS4ErrorMapper.ErrorCode EBMS0004
-
EBMS0005
public static final AS4ErrorMapper.ErrorCode EBMS0005
-
EBMS0007
public static final AS4ErrorMapper.ErrorCode EBMS0007
-
EBMS0008
public static final AS4ErrorMapper.ErrorCode EBMS0008
-
EBMS0009
public static final AS4ErrorMapper.ErrorCode EBMS0009
-
EBMS0010
public static final AS4ErrorMapper.ErrorCode EBMS0010
-
EBMS0011
public static final AS4ErrorMapper.ErrorCode EBMS0011
-
EBMS0301
public static final AS4ErrorMapper.ErrorCode EBMS0301
-
EBMS0302
public static final AS4ErrorMapper.ErrorCode EBMS0302
-
EBMS0303
public static final AS4ErrorMapper.ErrorCode EBMS0303
-
-
Method Detail
-
values
public static AS4ErrorMapper.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 (AS4ErrorMapper.ErrorCode c : AS4ErrorMapper.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 AS4ErrorMapper.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 nameNullPointerException
- if the argument is null
-
getErrorCodeString
public String getErrorCodeString()
-
-