Commit 22ab66e07a3ebadf9aaab6c79c3c55db5c5c4ea2

Authored by Ednara Oliveira
1 parent 847e5b5e
Exists in master

Pegar classe pai do proxy do weld para verificar métodos com

anotação "@ExceptionHandler"
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);
... ...