Fix exceptions error codes

Fix some error codes for exceptions
in common.exception.

Change-Id: I62ed6be7afe426bc9eb6a78423bbd8f7e674c9fa
Merge "Fix exceptions error codes"