}
private ODataResponse handleException(final Exception exception) {
ODataExceptionWrapper exceptionWrapper =
new ODataExceptionWrapper(uriInfo, httpHeaders, servletConfig, servletRequest);
ODataResponse oDataResponse = exceptionWrapper.wrapInExceptionResponse(exception);
return oDataResponse;
}
private ODataResponse handleWebApplicationException(final Exception exception) throws ClassNotFoundException,
InstantiationException, IllegalAccessException, EntityProviderException {