On Thu, Nov 4, 2010 at 9:08 AM, Gilles Sadowski <gil...@harfang.homelinux.org> wrote: > Hi. > >> >> IMHO we still need the @throws line in the javadoc. Otherwise end >> users are going to get a nasty surprise when they get an unchecked >> exception thrown. >> > > Any existing user code (throwing a "FunctionEvaluationException" at some > point and catching it at another) will still work the same as before > (provided they change the "import" statement). No surprise to be expected. > > > Best, > Gilles >
What about new code? With the current signature and documentation there is no information on possible exception conditions. The fact the method will throw an exception on failure needs to be expressed. The original request was to add an informative @throws back to the javadoc. I'm 100% in favor of that request. I'm indifferent on whether or not the corresponding throws clause is added back to the signature. Thanks, Brent --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org