WFLY-4153 throw an informative IllegalStateException with message in ins...

...tead of NullPointerException if EJBLocalHomeView or EJBHomeView is null.

https://issues.jboss.org/browse/WFLY-4153
Please use braces