Check for exceptions after calling JNI FindClass

Change-Id: I493e22cc44013e3471107cbd4cae0b5c6210193e
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1889
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins