Add error handling for OSGi classes not found

Added error handling to correctly handle case where SqlResource is
used outside an OSGi container.

Change-Id: I0b5a526b01c151c4a7924f474bf7d21e783ac260
Issue-ID: CCSDK-2625
Signed-off-by: Dan Timoney <dtimoney@att.com>
diff --git a/.gitignore b/.gitignore
index 34a96c1..cc576b7 100755
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
 maven-eclipse.xml
 workspace
 .checkstyle
+.vscode
 
 ## Compilation Files ##
 *.class