cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation SQLTransformer.java
Date Wed, 11 Jun 2003 00:41:27 GMT
Is there any reason for catching all exceptions instead of catching 
SQLExc., IOExc. and ComponentExc. separately?

Joerg

joerg@apache.org wrote:
> joerg       2003/06/10 17:28:31
> 
>   Modified:    src/blocks/databases/java/org/apache/cocoon/transformation
>                         SQLTransformer.java

...

>                        } catch (Exception local) {
>   +                        // FIXME: bad coding "catch(Exception)"
>                            // if an exception occured the data was not xml
>                            transformer.data(value);
>                        }


Mime
View raw message