Skip to content

Commit

Permalink
WBTCK-20
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@1725 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Feb 26, 2009
1 parent 0c323f6 commit c73e7e1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -537,7 +537,7 @@ public Context getContext(Class<? extends Annotation> scopeType)
}
if (activeContexts.size() > 1)
{
throw new IllegalArgumentException("More than one context active for scope type " + scopeType.getName());
throw new IllegalStateException("More than one context active for scope type " + scopeType.getName());
}
return activeContexts.iterator().next();
}
Expand Down

0 comments on commit c73e7e1

Please sign in to comment.