Class DataExchangeApiError

java.lang.Object
com.broadleafcommerce.common.error.ApiError
com.broadleafcommerce.dataexchange.service.error.web.DataExchangeApiError

public class DataExchangeApiError extends com.broadleafcommerce.common.error.ApiError
Represents an unrecoverable error that occurred when processing a batch of entities. This is a representation of the response returned to the client when an unrecoverable error occurs. see DataExchangeGlobalExceptionAdvisor
  • 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
    DataExchangeApiError(String type, String title, Object error)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

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

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

    Methods inherited from class java.lang.Object

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

    • DataExchangeApiError

      public DataExchangeApiError(String type, String title, Object error)
  • Method Details

    • getError

      public Object getError()