On 2012-07-19 21:47, Alexander Klimetschek wrote:
On 12.06.2012, at 15:01, Julian Reschke wrote:

Is this just to avoid catching exceptions? (keep in mind that the
exception might be thrown anyway...)

No, if hasProperty() returns true, you don't expect the PathNotFoundEx and 
don't have to handle it for the purpose of semantics! There is no 
catch(PathNotFoundEx) in the code you quote :-)

Except for race conditions.

...

Best regards, Julian

Reply via email to