public interface ODataErrorCallback extends ODataCallback
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
handleError(ODataErrorContext context)
This method can be used to handle an error differently than the exception mapper would.
|
ODataResponse handleError(ODataErrorContext context) throws ODataApplicationException
ODataApplicationException will be transformed into the OData error format.
EntityProvider
writeErrorDocument can be used.context - of this errorODataApplicationExceptionCopyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.