gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-530) Reinstate exception throwing at Query#execute()
Date Sat, 03 Mar 2018 23:58:00 GMT

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

ASF GitHub Bot commented on GORA-530:
-------------------------------------

Github user renato2099 commented on the issue:

    https://github.com/apache/gora/pull/130
  
    Hi @alfonsonishikawa , thanks for doing this!
    I think the first option was also ok because one thing is logging what the problem was
and other throwing the exception for the application using Gora to deal with it as it fits
better to the application.
    what do you think @lewismc ?


> Reinstate exception throwing at Query#execute()
> -----------------------------------------------
>
>                 Key: GORA-530
>                 URL: https://issues.apache.org/jira/browse/GORA-530
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core
>    Affects Versions: 0.8
>            Reporter: Alfonso Nishikawa
>            Assignee: Alfonso Nishikawa
>            Priority: Minor
>              Labels: query
>             Fix For: 0.9
>
>
> When executing a query, the exceptions are being shadowed and the execution returns {{null}}.
> This makes any client to be ignorant of the cause, because it is only logged into the
server.
> The objective is to reinstate the exception throwing, where the interface throws GoraException
to make any client aware of the underlying problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message