maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Napoleon Esmundo C. Ramirez (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-778) show internal error page on unhandled exceptions
Date Sat, 05 Aug 2006 10:37:05 GMT
    [ http://jira.codehaus.org/browse/CONTINUUM-778?page=comments#action_71661 ] 
            
Napoleon Esmundo C. Ramirez commented on CONTINUUM-778:
-------------------------------------------------------

After following the above link, I'm having a 'Element type "global-exception-mappings" must
be declared.' error.  Then I checked on http://www.opensymphony.com/xwork/wikidocs/Configuration.html
-- <global-exception-mappings/> is not there for configuration.

> show internal error page on unhandled exceptions
> ------------------------------------------------
>
>                 Key: CONTINUUM-778
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-778
>             Project: Continuum
>          Issue Type: Sub-task
>          Components: Web interface
>    Affects Versions: 1.0.3
>            Reporter: Carlos Sanchez
>         Assigned To: Napoleon Esmundo C. Ramirez
>             Fix For: 1.1
>
>
> It's possible to setup a servlet filter or something similar that maybe webwork already
has (Struts has it) to catch all unhandled exceptions, log them to the log file and redirect
the user to a "internal error" page.
> Related to this we should make ContinuumException a RuntimeException, don't catch it
in the web layer and let the previous mechanism do it. We'll save a lot of exception handling
code not needed.
> Note that this is only for system exceptions, eg. if database is down, and not model
exceptions, eg. when looking up by id it the record doesn't exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message