[ https://issues.apache.org/jira/browse/WICKET-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Pachod reopened WICKET-2819: ----------------------------------- please have a look at the previous comment > When unable to create a page, throw a specific exception instead of > WicketRuntimeException > ------------------------------------------------------------------------------------------ > > Key: WICKET-2819 > URL: https://issues.apache.org/jira/browse/WICKET-2819 > Project: Wicket > Issue Type: Improvement > Reporter: Joseph Pachod > Assignee: Igor Vaynberg > Priority: Minor > > currently, when the DefaultPageFactory doesn't succeed in creating a given > page, it throws a WicketRuntimeException with some message like " Unable to > create page from class org.demo.TestPage. Class does neither have a > constructor with PageParameter nor a default constructor". > Could it be possible to have a specific exception being thrown (extending > WicketRuntimeException for sure) ? > Thus, it would allow us to deal cleanly with this type of exception (and > providing a better error message to our users). > thanks in advance > joseph -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira