Package com.helger.phase4.model.error
Enum Class EEbmsError
- All Implemented Interfaces:
IEbmsError,Serializable,Comparable<EEbmsError>,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 TypeMethodDescription@NonNull EEbmsErrorCategoryGets the value of the category property.@NonNull com.helger.text.display.IHasDisplayTextGets the value of the description property.@NonNull StringGets the value of the errorCode property.static @Nullable EEbmsErrorgetFromErrorCodeOrNull(@Nullable String sErrorCode) static @Nullable EEbmsErrorgetFromIErrorOrNull(@Nullable com.helger.diagnostics.error.IError aError) @NonNull EEbmsErrorSeverityGets the value of the severity property.@NonNull StringGets the value of the shortDescription property.static EEbmsErrorReturns the enum constant of this class with the specified name.static EEbmsError[]values()Returns an array containing the constants of this enum class, 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
-
EBMS_PHASE4_DUPLICATE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
public @NonNull com.helger.text.display.IHasDisplayText 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
public static @Nullable EEbmsError getFromIErrorOrNull(@Nullable com.helger.diagnostics.error.IError aError)
-