com.lowagie.text.ExceptionConverter will certainly work. See if you don't
have a catch for Exception or RuntimeException before.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Wendy Smoak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 20:50
Subject: [iText-questions] Exception Converter??


> I'm trying to define an <error-page> in a Tomcat 4.1 web.xml to catch the
> following:
>
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
> exception
> ExceptionConverter: java.io.IOException: The document has no pages
>
> I have both
>    <exception-type>java.io.IOException</exception-type>
>    <exception-type>com.lowagie.text.ExceptionConverter</exception-type>
> and neither is working.
>
> Does anyone have an idea of how to trap these exceptions to avoid showing
a
> 500 to the user?
>
> --
> Wendy Smoak
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to