You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jon Scott Stevens <jo...@latchkey.com> on 2002/05/06 23:09:07 UTC

Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime PageContextImpl.java

on 5/6/02 1:07 PM, "kinman@apache.org" <ki...@apache.org> wrote:

>    if (t instanceof IOException) throw (IOException)t;
>    if (t instanceof ServletException) throw (ServletException)t;
>              if (t instanceof RuntimeException) throw (RuntimeException)t;
> +            if (t instanceof JspException ) {
> +                Throwable rootCause = ((JspException)t).getRootCause();
> +                if( rootCause != null )
> +                    throw new ServletException( t.getMessage(), rootCause );
> +                else
> +                    throw new ServletException( t );
> +            }

Missing {}
There is no space between the ( and if.
No spaces between the ( and the )

-jon

-- 
You kids are flame-war amateurs :) -Pier


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>