cocoon-dev mailing list archives

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

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.

Thanks,
Vadim
Mime
View raw message