public class ODataVdmErrorResultHandler extends Object implements com.sap.cloud.sdk.odatav2.connectivity.ErrorResultHandler<ODataVdmErrorResultHandler.ErpODataException>
| Modifier and Type | Class and Description |
|---|---|
static class |
ODataVdmErrorResultHandler.ErpODataException |
| Constructor and Description |
|---|
ODataVdmErrorResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
ODataVdmErrorResultHandler.ErpODataException |
createError(String message,
Object origin,
int httpStatusCode)
This method takes an error in the form of an error message, the origin (i.e.
|
public ODataVdmErrorResultHandler.ErpODataException createError(String message, Object origin, int httpStatusCode)
createError in interface com.sap.cloud.sdk.odatav2.connectivity.ErrorResultHandler<ODataVdmErrorResultHandler.ErpODataException>message - The error message as String.origin - The query that caused the error.httpStatusCode - The HTTP status code returned with the error.Copyright © 2017 SAP SE. All rights reserved.