Add db2 communication error code when check the db connection

bug 1244092

Change-Id: I17882e407afa00167e550a565081219f9e432a31
Merge "Add db2 communication error code when check the db connection" into stable/havana