Ramya Vasanth created OLINGO-1494:
-------------------------------------

             Summary: OData V2: Serialize error details
                 Key: OLINGO-1494
                 URL: https://issues.apache.org/jira/browse/OLINGO-1494
             Project: Olingo
          Issue Type: New Feature
          Components: odata2-core
            Reporter: Ramya Vasanth


ODataErrorContext does not have an API using which the error response can 
include inner error details. 2 new API's are added

public Collection<ODataErrorContext> getErrorDetails() {
 return errorDetails;
 }

public void setErrorDetails(Collection<ODataErrorContext> errorDetails) {
 this.errorDetails = errorDetails;
 }

Also a method is added to ContentTypeBasedEntityProvider class so that error 
responses having inner error details can be serialized

ODataResponse writeErrorDocument(ODataErrorContext context);



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to