Package com.helger.phase4.model.error
Enum EEbmsError
- All Implemented Interfaces:
IEbmsError,Serializable,Comparable<EEbmsError>,java.lang.constant.Constable
Enumeration with all predefined EBMS errors based on the specs. Use
IEbmsError for a generic interface.- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the category property.com.helger.commons.text.display.IHasDisplayTextGets the value of the description property.Gets the value of the errorCode property.static EEbmsErrorgetFromErrorCodeOrNull(String sErrorCode) static EEbmsErrorgetFromIErrorOrNull(com.helger.commons.error.IError aError) Gets the value of the severity property.Gets the value of the shortDescription property.static EEbmsErrorReturns the enum constant of this type with the specified name.static EEbmsError[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.helger.phase4.model.error.IEbmsError
errorBuilder
-
Enum Constant Details
-
EBMS_VALUE_NOT_RECOGNIZED
-
EBMS_FEATURE_NOT_SUPPORTED
-
EBMS_VALUE_INCONSISTENT
-
EBMS_OTHER
-
EBMS_CONNECTION_FAILURE
-
EBMS_EMPTY_MESSAGE_PARTITION_CHANNEL
-
EBMS_MIME_INCONSISTENCY
-
EBMS_FEATURE_NOT_SUPPORTED_INCONSISTENCY
-
EBMS_INVALID_HEADER
-
EBMS_PROCESSING_MODE_MISMATCH
-
EBMS_EXTERNAL_PAYLOAD_ERROR
-
EBMS_FAILED_AUTHENTICATION
-
EBMS_FAILED_DECRYPTION
-
EBMS_POLICY_NONCOMPLIANCE
-
EBMS_DYSFUNCTIONAL_RELIABILITY
-
EBMS_DELIVERY_FAILURE
-
EBMS_MISSING_RECEIPT
-
EBMS_INVALID_RECEIPT
-
EBMS_DECOMPRESSION_FAILURE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Description copied from interface:IEbmsErrorGets the value of the errorCode property.- Specified by:
getErrorCodein interfaceIEbmsError- Returns:
- possible object is
String
-
getSeverity
Description copied from interface:IEbmsErrorGets the value of the severity property.- Specified by:
getSeverityin interfaceIEbmsError- Returns:
- possible object is
String
-
getShortDescription
Description copied from interface:IEbmsErrorGets the value of the shortDescription property.- Specified by:
getShortDescriptionin interfaceIEbmsError- Returns:
- Short description. Never
null.
-
getDescription
Description copied from interface:IEbmsErrorGets the value of the description property.- Specified by:
getDescriptionin interfaceIEbmsError- Returns:
- The multilingual description.
-
getCategory
Description copied from interface:IEbmsErrorGets the value of the category property.- Specified by:
getCategoryin interfaceIEbmsError- Returns:
- possible object is
EEbmsErrorCategory
-
getFromErrorCodeOrNull
-
getFromIErrorOrNull
@Nullable public static EEbmsError getFromIErrorOrNull(@Nullable com.helger.commons.error.IError aError)
-