Ok,I think throwing is ok (+1), but declaring in the public methods could be useful for developers in my opinion cause it's thrown explicitly. Regards, Tommaso Teofili
2009/7/9 Thilo Goetz <twgo...@gmx.de> > > > Jörn Kottmann wrote: > > Tommaso Teofili wrote: > >> Hi Jörn, > >> I think you're right, the "throws CASRuntimeException" has to be > >> declared in > >> the readFS method signature too > > In my opinion its ok to not declare it, since its an internal > > private method and the CASRuntimeException is usually > > only thrown when there is a programming mistake in the client code. > > +1, both to throwing and to not declaring it. > > > > > Maybe I am wrong. > > > > Jörn >