on 5/6/02 1:07 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 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: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>