Interface IEbmsError

All Known Implementing Classes:
EbmsError, EEbmsError

public interface IEbmsError
Base interface for a single EBMS error
Author:
Philip Helger
  • Method Details

    • getErrorCode

      @Nonnull String getErrorCode()
      Gets the value of the errorCode property.
      Returns:
      possible object is String
    • getSeverity

      Gets the value of the severity property.
      Returns:
      possible object is String
    • getShortDescription

      @Nonnull String getShortDescription()
      Gets the value of the shortDescription property.
      Returns:
      Short description. Never null.
    • getDescription

      @Nonnull com.helger.commons.text.display.IHasDisplayText getDescription()
      Gets the value of the description property.
      Returns:
      The multilingual description.
      Since:
      2.6.0
    • getCategory

      Gets the value of the category property.
      Returns:
      possible object is EEbmsErrorCategory
    • errorBuilder

      @Nonnull default Ebms3ErrorBuilder errorBuilder(@Nonnull Locale aContentLocale)
      Create a new Ebms3ErrorBuilder with the information of this element. Sets description, category, errorCode, severity and shortDescription.
      Parameters:
      aContentLocale - Content locale to use. May not be null.
      Returns:
      Never null.
      Since:
      2.6.0