JCR Session.itemExists or nodeExists returns pathnotfound exception instead of true or false
Hi All,
I am trying to check if a node exist under a path and set some property. but when i try to check a path through session it returns PathNotFoundException instead of true/false.
if(!destSession.nodeExists(dRootPath)) / if(!destSession.itemExists(dRootPath))
is there any other way?
Regards,
Vikram.