Sonar fix in ecomp-portal-BE-common

Either log or rethrow this exception
Replace the type specification in this constructor call with the diamond operator ("<>")
Move the string literal on the left side of this string comparison
Define a constant instead of duplicating this literal

Issue-ID: PORTAL-562
Change-Id: Ib6dbf729f3dfb9184c4179b8bc3811f0e61a00dd
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
4 files changed