You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2016/03/02 17:37:18 UTC

[jira] [Created] (WICKET-6110) Add a message to StalePageException for better debugggin

Martin Grigorov created WICKET-6110:
---------------------------------------

             Summary: Add a message to StalePageException for better debugggin
                 Key: WICKET-6110
                 URL: https://issues.apache.org/jira/browse/WICKET-6110
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.22.0, 7.2.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
            Priority: Minor


At the moment StalePageException doesn't call 'super("Some message")' and also doesn't fill its stack trace (this is intentional!) and when logged it appears in the log as:
{code}
Exception occurred:
org.apache.wicket.core.request.mapper.StalePageException: null
{code}

which is not very informative.

It would be better to set a message that provides some information about the page, like page.toString().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)