avoid org.jboss.weld.exceptions.WeldException