gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfonso Nishikawa <alfonso.nishik...@gmail.com>
Subject Exception shadowing at HBaseStore#execute() / Query#execute()
Date Fri, 15 Dec 2017 17:22:33 GMT

I am working with HBase and I found that when executing a query, the
exceptions are being shadowed [1].

It seems that the interface at same point changed from throwing IOException
to return null [2].

I have the problem that when the query/connection/mapping fails, I can't
show the user any trace of error, since that information is shadowed.
Is there any big reason to shadow that information? The fact that I have to
control from the client if #execute() returns null or not is not less work
that just throwing or catching the exception -and the plus of knowing the

I propose to reintroduce that throw in the interface.
I prefer to ask first before creating an issue, lest be a big reason I
don't see to be shadowing it.

[1] -

[2] -




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message