Skip to content

Commit

Permalink
WELD-1055 Exception when deploying EJB with duplicated Interceptors-a…
Browse files Browse the repository at this point in the history
…nnontation is not informative enough
  • Loading branch information
luksa authored and stuartwdouglas committed Apr 3, 2012
1 parent 81f216e commit 02efca9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -128,7 +128,7 @@ private void validateDuplicateInterceptors(InterceptionType interceptionType, Li
for (InterceptorMetadata interceptor : interceptors) {
if (interceptorsList.contains(interceptor)) {
if (interceptionType != null) {
throw new InterceptorException("Duplicate interceptor class definition when binding" + interceptor + " on " + interceptionType.name());
throw new InterceptorException("Duplicate interceptor class definition when binding " + interceptor.getInterceptorClass().getClassName() + " on " + interceptionType.name());
}
}
}
Expand Down

0 comments on commit 02efca9

Please sign in to comment.