Package network.oxalis.ng.as4.util
Enum AS4ErrorCode
- java.lang.Object
-
- java.lang.Enum<AS4ErrorCode>
-
- network.oxalis.ng.as4.util.AS4ErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<AS4ErrorCode>
public enum AS4ErrorCode extends Enum<AS4ErrorCode>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAS4ErrorCode.Categorystatic classAS4ErrorCode.Originstatic classAS4ErrorCode.Severity
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AS4ErrorCode.CategorygetCatgory()StringgetErrorCode()AS4ErrorCode.OrigingetOrigin()StringgetShortDescription()static AS4ErrorCodenameOf(String name)StringtoString()static AS4ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static AS4ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EBMS_0001
public static final AS4ErrorCode EBMS_0001
-
EBMS_0002
public static final AS4ErrorCode EBMS_0002
-
EBMS_0003
public static final AS4ErrorCode EBMS_0003
-
EBMS_0004
public static final AS4ErrorCode EBMS_0004
-
EBMS_0005
public static final AS4ErrorCode EBMS_0005
-
EBMS_0006
public static final AS4ErrorCode EBMS_0006
-
EBMS_0007
public static final AS4ErrorCode EBMS_0007
-
EBMS_0008
public static final AS4ErrorCode EBMS_0008
-
EBMS_0009
public static final AS4ErrorCode EBMS_0009
-
EBMS_0010
public static final AS4ErrorCode EBMS_0010
-
EBMS_0101
public static final AS4ErrorCode EBMS_0101
-
EBMS_0102
public static final AS4ErrorCode EBMS_0102
-
EBMS_0103
public static final AS4ErrorCode EBMS_0103
-
EBMS_0201
public static final AS4ErrorCode EBMS_0201
-
EBMS_0202
public static final AS4ErrorCode EBMS_0202
-
EBMS_0301
public static final AS4ErrorCode EBMS_0301
-
EBMS_0303
public static final AS4ErrorCode EBMS_0303
-
-
Method Detail
-
values
public static AS4ErrorCode[] 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 (AS4ErrorCode c : AS4ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AS4ErrorCode 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
-
getErrorCode
public String getErrorCode()
-
getShortDescription
public String getShortDescription()
-
getCatgory
public AS4ErrorCode.Category getCatgory()
-
getOrigin
public AS4ErrorCode.Origin getOrigin()
-
nameOf
public static AS4ErrorCode nameOf(String name)
-
toString
public String toString()
- Overrides:
toStringin classEnum<AS4ErrorCode>
-
-