getData exception handling

Changed the way get data handles exceptions so that an empty dataTable
is returned instead of a null dataTable to prevent other errors