The code wraps the try call so that it cannot throw, but the function declaration declares it can throw. The throws should be removed (major version change), or another identical function should be added without the throws and the old one deprecated.
objectExists
try
call so that it cannot throw, but the function declaration declares it can throw. Thethrows
should be removed (major version change), or another identical function should be added without thethrows
and the old one deprecated.