You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2014/12/31 10:49:14 UTC
[jira] [Resolved] (WICKET-5794) Make DefaultExceptionMapper
extensible
[ https://issues.apache.org/jira/browse/WICKET-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene resolved WICKET-5794.
-------------------------------------
Resolution: Implemented
I've removed the final qualifier from 7.x as well.
> Make DefaultExceptionMapper extensible
> --------------------------------------
>
> Key: WICKET-5794
> URL: https://issues.apache.org/jira/browse/WICKET-5794
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.18.0, 7.0.0-M4
> Reporter: Hannes Dohrn
> Assignee: Andrea Del Bene
> Priority: Minor
> Fix For: 7.0.0-M5, 6.19.0
>
> Attachments: 0001-Extracted-code-in-DefautlExceptionMapper-internalMap.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> I'd like to send an email when wicket catches an unhandled exception. Also I want to customize the ExceptionErrorPage. Wicket offers getApplicationSettings().setInternalErrorPage(...) interface to set a custom internal error page. However, unlike the ExceptionErrorPage, InternalErrorPage does not receive the caught exception object or the current page object.
> In https://github.com/hannesd/wicket/commit/a33c6dff I extracted some code from DefaultExceptionMapper#internalMap into an extra method. Also I changed private to protected methods to make DefaultExceptionMapper reusable and extensible.
> I'd be nice if this patch or something similar enters wicket 6.x so that I don't have to duplicate 99% of DefaultExceptionMapper just to get my own version of ExceptionErrorPage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)