Class SystemOneApiResponseValidationException

All Implemented Interfaces:
Serializable

public class SystemOneApiResponseValidationException extends SystemOneApiException
Raised when a successful HTTP response is missing data the client requires, for example an empty body or an absent answers map.
Since:
2.1.0
Author:
Christian Tzolov
See Also:
  • Constructor Details

    • SystemOneApiResponseValidationException

      public SystemOneApiResponseValidationException(String message, int status, @Nullable String body, org.springframework.http.HttpHeaders headers, String endpoint, @Nullable String fieldPath)
  • Method Details

    • fieldPath

      public @Nullable String fieldPath()
      Returns:
      the dotted path to the offending field, or null when the whole body was missing