Description
throw new RestartResponseAtInterceptPageException
gives:
org.apache.wicket.RestartResponseAtInterceptPageException
ERROR - Error serializing object class org.apache.wicket.markup.html.pages.ExceptionErrorPage [object=[Page class = org.apache.wicket.markup.html.pages.ExceptionErrorPage, id = 1, render count = 1]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class: org.apache.wicket.request.flow.ResetResponseException$ResponseResettingDecorator
Field hierarchy is:
1 [class=org.apache.wicket.markup.html.pages.ExceptionErrorPage, path=1]
private final java.lang.Throwable org.apache.wicket.markup.html.pages.ExceptionErrorPage.throwable [class=org.apache.wicket.RestartResponseAtInterceptPageException]
private final org.apache.wicket.request.IRequestHandler org.apache.wicket.request.RequestHandlerStack$ReplaceHandlerException.replacementRequestHandler [class=org.apache.wicket.request.flow.ResetResponseException$ResponseResettingDecorator] <----- field that is not serializable