Prevent null pointer exception

Error-msg should be better, though.
This commit is contained in:
Markus Doits 2011-01-11 22:24:08 +00:00
parent d367bc12f8
commit fc05dfd8b7

View File

@ -134,7 +134,7 @@ public class ApgCon {
pReturn.putInt("CLASS_ERROR", error.CALL_NOT_KNOWN.ordinal());
return false;
} catch (Exception e) {
Log.d(TAG, e.getMessage());
Log.d(TAG, ""+e.getMessage());
error_list.add("CLASS: " + e.getMessage());
pReturn.putInt("CLASS_ERROR", error.GENERIC.ordinal());
return false;