diff --git a/impl/core/src/main/java/br/gov/frameworkdemoiselle/exception/ExceptionHandlerInterceptor.java b/impl/core/src/main/java/br/gov/frameworkdemoiselle/exception/ExceptionHandlerInterceptor.java index 9b343f4..1f75d31 100644 --- a/impl/core/src/main/java/br/gov/frameworkdemoiselle/exception/ExceptionHandlerInterceptor.java +++ b/impl/core/src/main/java/br/gov/frameworkdemoiselle/exception/ExceptionHandlerInterceptor.java @@ -70,7 +70,7 @@ public class ExceptionHandlerInterceptor implements Serializable { getLogger().info(getBundle().getString("handling-exception", cause.getClass().getCanonicalName())); boolean handled = false; - Class type = target.getClass(); + Class type = target.getClass().getSuperclass(); if (!isLoaded(type)) { loadHandlers(type); -- libgit2 0.21.2