Open GoogleCodeExporter opened 9 years ago
I'm attaching two possible patches. One patch wraps the IOException in a
FacebookException which is already being thrown by callMethod(). The other
patch
throws IOException. That is a more invasive change b/c it forces every API
method to
throw it, but it is probably the preferred way the API should work.
As a bit of background, without any fixes to this, we will have to wrap all
ExtensibleClient calls in try {} catch (RuntimeException re){}, which is highly
undesirable.
Original comment by tim.jul...@gmail.com
on 6 Jul 2009 at 7:35
Attachments:
The issue that was reported to our bug server:
https://www.limewire.org/jira/browse/LWC-3678
Original comment by tim.jul...@gmail.com
on 6 Jul 2009 at 7:50
sorry to have this fallen in the cracks, but I'm really torn. I have been
slowly
become a fan of the "fewer checked exceptions" (mostly coming from spring and
what
not). I believe most users will simply wrap with a try/catch and swallow
errors, or
simply re-throw them to someone else higher above.. so as a RuntimeException it
would
be better.. but like I said, we can discuss.
Original comment by fern...@gmail.com
on 1 Nov 2009 at 1:21
Original issue reported on code.google.com by
tim.jul...@gmail.com
on 6 Jul 2009 at 4:50