Adding a value to the enum would be a change in the api, which I would like to avoid. And if you're just interested if execution is successful, returning a warn looks like a good idea to me.
Carsten 2014/1/14 Bertrand Delacretaz <bdelacre...@apache.org> > On Tue, Jan 14, 2014 at 3:34 PM, Carsten Ziegeler <cziege...@apache.org> > wrote: > > ...what about adding a boolean method, hasTimedOut() instead and always > > return a correct date?... > > why not but then hasTimedOut() really means "no result available" so > isn't the NO_RESULT status that we discussed earlier clearer and > simpler? > > -Bertrand > -- Carsten Ziegeler cziege...@apache.org