Hi all,

I'm migrating from Wicket 7 to 8 and have the problem that my custom
exception mapper is not called anymore. I'm simply extending
"AuthenticatedWebApplication" and overriding the following method:

>        @Override
>        public Supplier<IExceptionMapper> getExceptionMapperProvider()
>        {
>                return this.exMapProv;
>        }

Eclipse says everything is OK, I can even set a valid breakpoint at
the return, but that never fires. Instead, if I set a breakpoint in
"Application" at the following place, I can see that
"getExceptionMapperProvider" uses the default implementation:

>        public final RequestCycle createRequestCycle(final Request request, 
> final Response response)
>        {
>                RequestCycleContext context = new RequestCycleContext(request, 
> response,
>                        getRootRequestMapper(), 
> getExceptionMapperProvider().get());

I've already cleared caches in the web server, tebuilt the app and
such Voodoo. Any additional ideas? Thanks!

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

Reply via email to