Package eu.de4a.iem.error
Enum EDE4ADocumentResponseErrorCode
- java.lang.Object
-
- java.lang.Enum<EDE4ADocumentResponseErrorCode>
-
- eu.de4a.iem.error.EDE4ADocumentResponseErrorCode
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,IDE4AErrorCode,Serializable,Comparable<EDE4ADocumentResponseErrorCode>
public enum EDE4ADocumentResponseErrorCode extends Enum<EDE4ADocumentResponseErrorCode> implements IDE4AErrorCode
Source: DocumentResponseErrorCode-CodeList.gc
Content created by MainCreateJavaCode_DocumentResponseErrorCode_GC- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DP_DOC_001Unknown document typeDP_DOC_002UnauthorizedDP_DOC_003UnavailableDP_DOC_004Internal processing errorDP_DOC_005Payload too largeDP_DOC_006TimeoutDP_DOC_007Different mime type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()static EDE4ADocumentResponseErrorCodegetFromIDOrNull(String sID)StringgetID()static EDE4ADocumentResponseErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static EDE4ADocumentResponseErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DP_DOC_001
public static final EDE4ADocumentResponseErrorCode DP_DOC_001
Unknown document type
-
DP_DOC_002
public static final EDE4ADocumentResponseErrorCode DP_DOC_002
Unauthorized
-
DP_DOC_003
public static final EDE4ADocumentResponseErrorCode DP_DOC_003
Unavailable
-
DP_DOC_004
public static final EDE4ADocumentResponseErrorCode DP_DOC_004
Internal processing error
-
DP_DOC_005
public static final EDE4ADocumentResponseErrorCode DP_DOC_005
Payload too large
-
DP_DOC_006
public static final EDE4ADocumentResponseErrorCode DP_DOC_006
Timeout
-
DP_DOC_007
public static final EDE4ADocumentResponseErrorCode DP_DOC_007
Different mime type
-
-
Method Detail
-
values
public static EDE4ADocumentResponseErrorCode[] 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 (EDE4ADocumentResponseErrorCode c : EDE4ADocumentResponseErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDE4ADocumentResponseErrorCode 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>
-
getDisplayName
@Nonnull @Nonempty public String getDisplayName()
-
getFromIDOrNull
@Nullable public static EDE4ADocumentResponseErrorCode getFromIDOrNull(@Nullable String sID)
-
-