river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg Wonderly <gr...@wonderly.org>
Subject Re: River exception usage.
Date Sat, 06 Oct 2012 01:19:25 GMT
Deriving from IOException would seem like a viable choice?

Gregg

Sent from my Phone

On Oct 5, 2012, at 7:17 AM, Simon IJskes - QCG <simon@qcg.nl> wrote:

> On 05-10-12 13:29, James Grahn wrote:
> 
>> I think the analogy holds with the JAXB example, which unified its
>> thrown exceptions to offer "something wrong relating to the XML".
>> RiverException would similarly be "something wrong with the network"
>> except during initial development when you'd care more about the full
>> stack trace.
> 
> In concrete term, you would like to see RiverException as a catchable Exception for all
river related problems. This would have 2 options, wrapping, or deriving. As there is no real
single API, this would mean derive everything from RiverException. do you agree?
> 
> Gr. Simon
> 
> -- 
> QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl
> Quality Consultancy Group b.v., Leiderdorp, Kvk Den Haag: 28088397

Mime
View raw message