Class EbmsError

java.lang.Object
com.helger.phase4.model.error.EbmsError
All Implemented Interfaces:
IEbmsError

@Immutable public class EbmsError extends Object implements IEbmsError
Generic implementation of IEbmsError to represent other errors besides EEbmsError.
Since:
0.13.1
Author:
Philip Helger
  • Constructor Details

  • Method Details

    • getErrorCode

      public @NonNull 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

      public @NonNull 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

      public @NonNull 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

      public @NonNull com.helger.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

      public @NonNull 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
    • toString

      public String toString()
      Overrides:
      toString in class Object