Added status text to StatusCodeException

bug: issue 8314
Change-Id: I1fb85f4bc7fb9d0687b14fd795d73e12f4fc08d6
merge from master