Class ImportValidationApiError

java.lang.Object
com.broadleafcommerce.common.error.ApiError
com.broadleafcommerce.dataimport.web.endpoint.apierror.ImportValidationApiError

public class ImportValidationApiError extends com.broadleafcommerce.common.error.ApiError
API Error response containing detailed information about import validation errors.

Author:
Samarth Dhruva (samarthd)
See Also:
  • ImportEndpoint#handleImportValidationException(ImportValidationException)
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.broadleafcommerce.common.error.ApiError

    com.broadleafcommerce.common.error.ApiError.StatusConverter
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImportValidationApiError(String type, String title, org.springframework.http.HttpStatus status, ImportValidationResponse validationResponse)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
     
    int
     
     

    Methods inherited from class com.broadleafcommerce.common.error.ApiError

    addError, getException, getGlobalErrors, getStatus, getStatusCode, getTimestamp, getTitle, getType, setException, setTimestamp, toResponseEntity, withException, withGlobalErrors, withStatus, withStatusCode, withTimestamp, withTitle, withType

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getLineErrors

      @Nullable public List<LineError> getLineErrors()
      See Also:
      • ImportValidationResponse.lineErrors
    • toString

      public String toString()
      Overrides:
      toString in class com.broadleafcommerce.common.error.ApiError
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object