[ 
https://issues.apache.org/jira/browse/OLINGO-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809338#comment-13809338
 ] 

Georgi commented on OLINGO-50:
------------------------------

Yes, the latter sounds reasonable. This worked for me:
        class ErrorCallback implements ODataErrorCallback{

                @Override
                public ODataResponse handleError(ODataErrorContext context)
                                throws ODataApplicationException {
                        
LOGGER.severe(context.getException().getClass().getName() + ":" + 
context.getMessage());
                        return EntityProvider.writeErrorDocument(context);
                }
        }

> Exceptions are not throw
> ------------------------
>
>                 Key: OLINGO-50
>                 URL: https://issues.apache.org/jira/browse/OLINGO-50
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-documentation
>    Affects Versions: 1.0.0
>            Reporter: Thiago Assis
>            Assignee: Stephan Klevenz
>
> I cant see the stack trace of the generated exception, is not generated in te 
> application server log and the browser returns 
> <?xml version='1.0' encoding='UTF-8'?><error 
> xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";><code/><message
>  xml:lang="en-US">An exception occurred.</message></error>
> This happen when i request the URL: http://localhost:8888/odata/



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to