cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject [Patch] Exception handling in FileGenerator
Date Thu, 07 Jun 2001 20:09:13 GMT

FileGenerator now logs any IOException as an error(), but that's not the case
in the real life: sometimes it's just FileNotFoundException.

This simple patch differentiates between FileNotFoundException (which is not a
server error) - which is not logged; and any other IOException (that's may be an error)
which is logged as error().

Please apply attached "diff -u" - assuming that it's meaningful.

View raw message