Class ErrorDetail


  • public final class ErrorDetail
    extends Object
    The error detail.
    • Constructor Detail

      • ErrorDetail

        public ErrorDetail()
    • Method Detail

      • code

        public String code()
        Get the code property: The error code.
        Returns:
        the code value.
      • message

        public String message()
        Get the message property: The error message.
        Returns:
        the message value.
      • target

        public String target()
        Get the target property: The error target.
        Returns:
        the target value.
      • details

        public List<ErrorDetail> details()
        Get the details property: The error details.
        Returns:
        the details value.
      • additionalInfo

        public List<ErrorAdditionalInfo> additionalInfo()
        Get the additionalInfo property: The error additional info.
        Returns:
        the additionalInfo value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.