Is there any reason for catching all exceptions instead of catching SQLExc., IOExc. and ComponentExc. separately?

Joerg

[EMAIL PROTECTED] 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);
                       }



Reply via email to