You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Glauber Adriano Reis <gl...@gmail.com> on 2005/09/01 07:56:02 UTC

JIRA 898

Folks,

As to http://issues.apache.org/jira/browse/BEEHIVE-898. I have the latest files from SVN and I still get
"java.lang.ClassNotFoundException for handlePageFlowException". After applying the following patch, I got
the proper error page.


Index: netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultExceptionsHandler.java
===================================================================
--- netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultExceptionsHandler.java (revision 265638)
+++ netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultExceptionsHandler.java (working copy)
@@ -189,9 +189,12 @@
                  {
                      ret = invokeExceptionHandlerMethod( context, ex, pfExceptionConfig, form, actionMapping );
                  }
+                else
+                {
+                    ret = invokeExceptionHandlerClass( context, ex, pfExceptionConfig, actionMapping, form );
+                }
              }
-
-            if ( ret == null )
+            else
              {
                  ret = invokeExceptionHandlerClass( context, ex, exceptionConfig, actionMapping, form );
              }

Re: JIRA 898

Posted by Rich Feit <ri...@gmail.com>.
I've reopened this and will take a look at the problem and your patch.  
Thanks for following up on this.

Rich

Glauber Adriano Reis wrote:

> Folks,
>
> As to http://issues.apache.org/jira/browse/BEEHIVE-898. I have the 
> latest files from SVN and I still get
> "java.lang.ClassNotFoundException for handlePageFlowException". After 
> applying the following patch, I got
> the proper error page.
>
>
> Index: 
> netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultExceptionsHandler.java 
>
> ===================================================================
> --- 
> netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultExceptionsHandler.java 
> (revision 265638)
> +++ 
> netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultExceptionsHandler.java 
> (working copy)
> @@ -189,9 +189,12 @@
>                  {
>                      ret = invokeExceptionHandlerMethod( context, ex, 
> pfExceptionConfig, form, actionMapping );
>                  }
> +                else
> +                {
> +                    ret = invokeExceptionHandlerClass( context, ex, 
> pfExceptionConfig, actionMapping, form );
> +                }
>              }
> -
> -            if ( ret == null )
> +            else
>              {
>                  ret = invokeExceptionHandlerClass( context, ex, 
> exceptionConfig, actionMapping, form );
>              }
>