Class ValidationResponseErrorInfo


  • public final class ValidationResponseErrorInfo
    extends Object
    Failed validation result details.
    • Constructor Detail

      • ValidationResponseErrorInfo

        public ValidationResponseErrorInfo()
    • Method Detail

      • code

        public String code()
        Get the code property: Error code indicating why validation failed.
        Returns:
        the code value.
      • message

        public String message()
        Get the message property: Message indicating why validation failed.
        Returns:
        the message value.
      • validate

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