Fixed exception occurred when handling error in deleting database.
added try/catch block in ObjectStore##getObject