logo       

Re: distinguishing between failures and errors: msg#00117

java.junit.user

Subject: Re: distinguishing between failures and errors

> That fact that you say using them allows the compiler
> to 'get in the way' sounds like a non-issue. Is this
> coupling between your two systems? Maybe...but I
> (personally) would rather have it and make damn sure
> those exceptions are handled.

If the problem is coupling, counldn't that be solved by throwing
java.lang.Exception?

My guess is that whichever approach you choose, you still document
the exceptions that get thrown, right? So the only thing you gain
with the suggestion above is forcing the code to be aware of the
Exception possibility of your code.

Manuel Amago.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise