Package eu.de4a.iem.error
Enum EDE4AErrorCode
- java.lang.Object
-
- java.lang.Enum<EDE4AErrorCode>
-
- eu.de4a.iem.error.EDE4AErrorCode
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,IDE4AErrorCode,Serializable,Comparable<EDE4AErrorCode>
public enum EDE4AErrorCode extends Enum<EDE4AErrorCode> implements IDE4AErrorCode
Source: ErrorCode-CodeList.gc
Content created by MainCreateJavaCode_ErrorCode_GC- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DD_001The DE4A Directory is not reachableDD_002An SMP could not be queriedDD_003Error validating a signature from SMPDD_004The Dynamic Discovery Service was not able to find any Participant IdentifiersGENUncategorized errorIF_001The payload provided from DC/DP to the DE4A Connector is not validIF_002Message Validation FailedME_001The DE4A Connector was not able to communicate with the Local AS4 gatewayME_002The AS4 Gateway was not able to send the messageME_003The AS4 gateway could not deliver the message to the addressed gatewayME_004The AS4 gateway has not received a receipt
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EDE4AErrorCodegetFromIDOrNull(String sID)StringgetID()static EDE4AErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static EDE4AErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GEN
public static final EDE4AErrorCode GEN
Uncategorized error
-
IF_001
public static final EDE4AErrorCode IF_001
The payload provided from DC/DP to the DE4A Connector is not valid
-
IF_002
public static final EDE4AErrorCode IF_002
Message Validation Failed
-
DD_001
public static final EDE4AErrorCode DD_001
The DE4A Directory is not reachable
-
DD_002
public static final EDE4AErrorCode DD_002
An SMP could not be queried
-
DD_003
public static final EDE4AErrorCode DD_003
Error validating a signature from SMP
-
DD_004
public static final EDE4AErrorCode DD_004
The Dynamic Discovery Service was not able to find any Participant Identifiers
-
ME_001
public static final EDE4AErrorCode ME_001
The DE4A Connector was not able to communicate with the Local AS4 gateway
-
ME_002
public static final EDE4AErrorCode ME_002
The AS4 Gateway was not able to send the message
-
ME_003
public static final EDE4AErrorCode ME_003
The AS4 gateway could not deliver the message to the addressed gateway
-
ME_004
public static final EDE4AErrorCode ME_004
The AS4 gateway has not received a receipt
-
-
Method Detail
-
values
public static EDE4AErrorCode[] 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 (EDE4AErrorCode c : EDE4AErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDE4AErrorCode 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
-
getID
@Nonnull @Nonempty public String getID()
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getFromIDOrNull
@Nullable public static EDE4AErrorCode getFromIDOrNull(@Nullable String sID)
-
-