You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Frank Bille Jensen (JIRA)" <ji...@apache.org> on 2007/12/06 19:56:50 UTC

[jira] Updated: (WICKET-1038) Setting UnexpectedExceptionDisplay to IExceptionSettings.SHOW_NO_EXCEPTION_PAGE doesn't throw Servlet Exception

     [ https://issues.apache.org/jira/browse/WICKET-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1038:
---------------------------------------

    Fix Version/s:     (was: 1.3.0-rc2)
                   1.3.0-rc3

> Setting UnexpectedExceptionDisplay to IExceptionSettings.SHOW_NO_EXCEPTION_PAGE doesn't throw Servlet Exception
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1038
>                 URL: https://issues.apache.org/jira/browse/WICKET-1038
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>         Environment: Weblogic 8.1
> Java 1.4
>            Reporter: Adam A. Koch
>             Fix For: 1.3.0-rc3
>
>
> Setting UnexpectedExceptionDisplay to IExceptionSettings.SHOW_NO_EXCEPTION_PAGE doesn't throw Servlet Exception.
> In my application class:
>         getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_NO_EXCEPTION_PAGE);
> But when an exception is thrown, for example:
>     public Sub1Page() {
>         if (true)
>             throw new RuntimeException("This is a test");
>     }
> I don't get a ServletException, but a page with no text.I would have expected the container (Weblogic in this case) to display something.
> I looked in the code, but I don't see any place where the exception is wrapped in a ServletException.
> I think it's supposed to be handled in AbstractRequestCycleProcessor.respond().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.