Enum EEbmsError

java.lang.Object
java.lang.Enum<EEbmsError>
com.helger.phase4.model.error.EEbmsError
All Implemented Interfaces:
IEbmsError, Serializable, Comparable<EEbmsError>, java.lang.constant.Constable

public enum EEbmsError extends Enum<EEbmsError> implements IEbmsError
Enumeration with all predefined EBMS errors based on the specs. Use IEbmsError for a generic interface.
Author:
Philip Helger
  • Enum Constant Details

    • EBMS_VALUE_NOT_RECOGNIZED

      public static final EEbmsError EBMS_VALUE_NOT_RECOGNIZED
    • EBMS_FEATURE_NOT_SUPPORTED

      public static final EEbmsError EBMS_FEATURE_NOT_SUPPORTED
    • EBMS_VALUE_INCONSISTENT

      public static final EEbmsError EBMS_VALUE_INCONSISTENT
    • EBMS_OTHER

      public static final EEbmsError EBMS_OTHER
    • EBMS_CONNECTION_FAILURE

      public static final EEbmsError EBMS_CONNECTION_FAILURE
    • EBMS_EMPTY_MESSAGE_PARTITION_CHANNEL

      public static final EEbmsError EBMS_EMPTY_MESSAGE_PARTITION_CHANNEL
    • EBMS_MIME_INCONSISTENCY

      public static final EEbmsError EBMS_MIME_INCONSISTENCY
    • EBMS_FEATURE_NOT_SUPPORTED_INCONSISTENCY

      public static final EEbmsError EBMS_FEATURE_NOT_SUPPORTED_INCONSISTENCY
    • EBMS_INVALID_HEADER

      public static final EEbmsError EBMS_INVALID_HEADER
    • EBMS_PROCESSING_MODE_MISMATCH

      public static final EEbmsError EBMS_PROCESSING_MODE_MISMATCH
    • EBMS_EXTERNAL_PAYLOAD_ERROR

      public static final EEbmsError EBMS_EXTERNAL_PAYLOAD_ERROR
    • EBMS_FAILED_AUTHENTICATION

      public static final EEbmsError EBMS_FAILED_AUTHENTICATION
    • EBMS_FAILED_DECRYPTION

      public static final EEbmsError EBMS_FAILED_DECRYPTION
    • EBMS_POLICY_NONCOMPLIANCE

      public static final EEbmsError EBMS_POLICY_NONCOMPLIANCE
    • EBMS_DYSFUNCTIONAL_RELIABILITY

      public static final EEbmsError EBMS_DYSFUNCTIONAL_RELIABILITY
    • EBMS_DELIVERY_FAILURE

      public static final EEbmsError EBMS_DELIVERY_FAILURE
    • EBMS_MISSING_RECEIPT

      public static final EEbmsError EBMS_MISSING_RECEIPT
    • EBMS_INVALID_RECEIPT

      public static final EEbmsError EBMS_INVALID_RECEIPT
    • EBMS_DECOMPRESSION_FAILURE

      public static final EEbmsError EBMS_DECOMPRESSION_FAILURE
  • Method Details

    • values

      public static EEbmsError[] 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

      public static EEbmsError 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 name
      NullPointerException - if the argument is null
    • getErrorCode

      @Nonnull public String getErrorCode()
      Description copied from interface: IEbmsError
      Gets the value of the errorCode property.
      Specified by:
      getErrorCode in interface IEbmsError
      Returns:
      possible object is String
    • getSeverity

      @Nonnull public EEbmsErrorSeverity getSeverity()
      Description copied from interface: IEbmsError
      Gets the value of the severity property.
      Specified by:
      getSeverity in interface IEbmsError
      Returns:
      possible object is String
    • getShortDescription

      @Nonnull public String getShortDescription()
      Description copied from interface: IEbmsError
      Gets the value of the shortDescription property.
      Specified by:
      getShortDescription in interface IEbmsError
      Returns:
      Short description. Never null.
    • getDescription

      @Nonnull public com.helger.commons.text.display.IHasDisplayText getDescription()
      Description copied from interface: IEbmsError
      Gets the value of the description property.
      Specified by:
      getDescription in interface IEbmsError
      Returns:
      The multilingual description.
    • getCategory

      @Nonnull public EEbmsErrorCategory getCategory()
      Description copied from interface: IEbmsError
      Gets the value of the category property.
      Specified by:
      getCategory in interface IEbmsError
      Returns:
      possible object is EEbmsErrorCategory
    • getFromErrorCodeOrNull

      @Nullable public static EEbmsError getFromErrorCodeOrNull(@Nullable String sErrorCode)
    • getFromIErrorOrNull

      @Nullable public static EEbmsError getFromIErrorOrNull(@Nullable com.helger.commons.error.IError aError)