Class ErrorResponseMessageDTO

java.lang.Object
de.aeb.xnsg.foundation.bf.ResponseMessageDTO
de.aeb.xnsg.foundation.bf.rest.ErrorResponseMessageDTO

public class ErrorResponseMessageDTO extends ResponseMessageDTO
DTO for general errors messages or errors messages related to a contraint violation of a certain field.
  • Field Details

    • field

      public String field
      Pointer to the data field which contains the erroneous value. This field is only filled in case of field errors.
    • invalidValue

      public String invalidValue
      Textual representation of the erroneous value. This field is only filled in case of field errors.
  • Constructor Details

    • ErrorResponseMessageDTO

      public ErrorResponseMessageDTO()
  • Method Details

    • getMessageIdentCode

      public String getMessageIdentCode()
      Code identifying the type of the error.
    • getMessageTexts

      public TextInLanguageDTO[] getMessageTexts()
      Description of error in the requested languages.