http://bugzilla.slf4j.org/show_bug.cgi?id=12





------- Additional Comments From [EMAIL PROTECTED]  2006-01-09 17:21 -------

Hello Boris,

Thank you for your valuable input to this report. 

Based on http://issues.apache.org/bugzilla/show_bug.cgi?id=38174, it seems that 
you
advocate an approach where the String.valueOf(message) calls or vriants 
thereof, are 
surrounded by a try/catch block. While this may well be the correct approach in 
the 
general case, in this particular case it may be somehwat of an overkill, 
especially 
considering that in the vast majority of cases the type of "message" is just 
String. 
Thus, "null" maybe possible but rare input to printing method, objects throwing 
exceptions in their toString() method may not.

However, the same logic applies for message argument case in relation with 
MessageFormatter, in which case, the try/catch approach may be advisable.




-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
dev mailing list
dev@slf4j.org
http://slf4j.org/mailman/listinfo/dev

Reply via email to