WFLY-4149: avoid wrap of naming exceptions
Merge pull request #7014 from emmartins/WFLY-4149

WFLY-4149: avoid wrap of naming exceptions