cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: [VOTE] Make errors caught only by Cocoon.java
Date Fri, 06 Sep 2002 02:53:28 GMT
+1 for

> >> "Exceptions are only logged when they are consumed (and not rethrown)".



----- Original Message -----
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, September 05, 2002 8:54 AM
Subject: Re: [VOTE] Make errors caught only by Cocoon.java


> Nicola Ken Barozzi wrote:
>
> >
> > Carsten Ziegeler wrote:
> >
> >>
> >>> -----Original Message-----
> >>> From: Nicola Ken Barozzi [mailto:nicolaken@apache.org]
> >>> Sent: Thursday, September 05, 2002 3:24 PM
> >>> To: cocoon-dev@xml.apache.org
> >>> Subject: [VOTE] Make errors caught only by Cocoon.java
> >>>
> >>>
> >>> I would really like to see the errors caught ONLY by Cocoon.java, and
> >>> logged there. It would reduce the problems we are having a LOT.
> >>>
> >>> +1
> >>>
> >>
> >> I would like to extend this proposal a little bit by:
> >
>
> Same here... Minor correction:
>
> >> "Exceptions are only logged when they are consumed (and not rethrown)".
> >>
> >> So, if I write
> >> try {
> >>    ...
> >> } catch (Exception e) {
> >>   // ignore this...
> >> }
> >>
> >> this should be logged, perhaps not with level error, but debug.
> >
>
> And perharps without stacktrace. It is meaningless in 99.9% situations
> to log, i.e., FileNotFoundException's stacktrace.
>
>
> >>
> >
> > +1  Yes, that's it.
>
>
> +1
>
>
> Vadim
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message