You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org> on 2005/05/14 18:30:04 UTC

[jira] Closed: (BEEHIVE-383) Expression messages are not getting evaluated before being passed to exception-handler methods

     [ http://issues.apache.org/jira/browse/BEEHIVE-383?page=all ]
     
Alejandro Ramirez closed BEEHIVE-383:
-------------------------------------


Verified Fixed.  Executed Repro Steps and I can see the pageflow URI in the console.  In addition the coreWeb BVT: ExceptionMessages is passing.

> Expression messages are not getting evaluated before being passed to exception-handler methods
> ----------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-383
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-383
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Alpha, V1Beta
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>      Fix For: V1Beta

>
>  Repro:
>     - Add the following to a page flow:
>         @Jpf.Catch(type=IllegalStateException.class, method="handleException", message="${pageFlow.URI}")
>     - Add an exception-handler:
>         @Jpf.ExceptionHandler()
>         public Forward handleException( Exception ex, String actionName, String message, Object form )
>         {
>             System.out.println( message );
>             return null;
>         }
>     - Hit an action that throws IllegalStateException.
> Expected: see the page flow's URI printed to the console.
> Actual: see "${pageFlow.URI}" printed to the console.

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