Move exceptions from datasource_driver to exception file

Partially implements blueprint: refactor-datasource-driver-framework

Change-Id: Ib03d1071ddb84ad9a6f34a1b0a108a7dd23e43bd