Commit 22ab66e07a3ebadf9aaab6c79c3c55db5c5c4ea2
1 parent
847e5b5e
Exists in
master
Pegar classe pai do proxy do weld para verificar métodos com
anotação "@ExceptionHandler"
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/exception/ExceptionHandlerInterceptor.java
... | ... | @@ -70,7 +70,7 @@ public class ExceptionHandlerInterceptor implements Serializable { |
70 | 70 | getLogger().info(getBundle().getString("handling-exception", cause.getClass().getCanonicalName())); |
71 | 71 | |
72 | 72 | boolean handled = false; |
73 | - Class<?> type = target.getClass(); | |
73 | + Class<?> type = target.getClass().getSuperclass(); | |
74 | 74 | |
75 | 75 | if (!isLoaded(type)) { |
76 | 76 | loadHandlers(type); | ... | ... |