Skip to content

Commit

Permalink
WBRI-333
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@3392 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Aug 2, 2009
1 parent 087bc7f commit e752438
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion impl/src/main/java/org/jboss/webbeans/BeanManagerImpl.java
Expand Up @@ -49,6 +49,7 @@
import javax.enterprise.context.spi.CreationalContext;
import javax.enterprise.inject.AmbiguousResolutionException;
import javax.enterprise.inject.BindingType;
import javax.enterprise.inject.InjectionException;
import javax.enterprise.inject.UnproxyableResolutionException;
import javax.enterprise.inject.UnsatisfiedResolutionException;
import javax.enterprise.inject.spi.AnnotatedType;
Expand Down Expand Up @@ -1247,7 +1248,14 @@ public <X> Bean<? extends X> getMostSpecializedBean(Bean<X> bean)

public void validate(InjectionPoint ij)
{
getServices().get(Validator.class).validateInjectionPoint(ij, this);
try
{
getServices().get(Validator.class).validateInjectionPoint(ij, this);
}
catch (DeploymentException e)
{
throw new InjectionException(e.getMessage(), e.getCause());
}
}

public Set<Annotation> getInterceptorBindingTypeDefinition(Class<? extends Annotation> bindingType)
Expand Down

0 comments on commit e752438

Please sign in to comment.