Trial work on exception handling for sqlite issues