jbossas/jboss-msc — pull request #3 by bmaxwell (2011-11-15 15:15:50+00:00)
Title: [AS7-2639] add to ServiceName.getSimpleName() to the exception message t...

I've improved the MSC message when there are issues parsing deployment descriptors, so that the exception will include the element name in the exception so that the user knows where to lock for the problem.

Example if you have a empty in a war/WEB-INF/jboss-web.xml then you get the error message below.

Before the fix:
Caused by: java.lang.IllegalArgumentException: Empty name segment is not allowed

After the fix:
Caused by: java.lang.IllegalArgumentException: Empty name segment is not allowed for security-domain