Exception handling from ActionBeans via a default exception handler appears 
broken
----------------------------------------------------------------------------------

                 Key: STS-447
                 URL: http://mc4j.org/jira/browse/STS-447
             Project: Stripes
          Issue Type: Bug
    Affects Versions: Release 1.4.3
         Environment: Tomcat 5 / JDK 1.5
            Reporter: Jayson Minard
         Assigned To: Tim Fennell


I have an action bean that is loaded via <stripes:useActionBean ...>  

The event being executed by that tag throws an exception.  Instead of getting 
my exception in a Custom ExceptionHandler, I instead get the JSP exception from 
Stripes saying it cannot load the action bean.  My exception is lost in layers 
of wrapping that are not unwrapped.


Should this:

public class TestActionBean extends SearchActionBeanBase {

    public Resolution testEvent() throws TestExceptionn {
        throw new TestException("this should be seen");
    }
}

Used via this:

<stripes:useActionBean beanclass="test.TestActionBean" var="test"
        alwaysExecuteEvent="false" event="testEvent" executeResolution="false" 
/>

Generate TestException into the handler, or at least a ServletException that 
wraps it?

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

        

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to