@Override public IRequestHandler onException( org.apache.wicket.request.cycle.RequestCycle cycle, Exception ex) { for (WicketCallback callback : callbacks) { callback.onRuntimeException(cycle, ex); } return null; } }
@Override public final Page onRuntimeException(final Page cause, final RuntimeException ex) { for (WicketCallback callback : callbacks) { callback.onRuntimeException(cause, ex); } if (ex instanceof PageExpiredException) { return super.onRuntimeException(cause, ex); } else { return new GeoServerErrorPage(cause, ex); } }