WFLY-1868 : Removing hard coded string for the case these strings might ...

...be translated on a non en_US locale.
Some error messages are translated, they should be using the error message code instead of relying on the hardcoded String.