[slf4j-dev] [Bug 11] Exceptionhandler Design of MessageFormatter

bugzilla-daemon at gil.qos.ch bugzilla-daemon at gil.qos.ch
Mon Jan 9 17:44:43 CET 2006


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


listid at qos.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From listid at qos.ch  2006-01-09 17:44 -------

As the test cases show (see MessageFormatterTest) the current code handles null 
input parameters just fine because it relies on the StringBuffer.append(Object) 
method which delegates to String.valueOf(Object) method. This last method returns 
the string literal "null" in response to null input.

For simplicity, I am intentionally ignoring the case of objects throwing exceptions 
from their toString() method. If such classes do indeed exist, and moreover cannot 
be modifed, then we would need to revise our judgement. In the meantime, I am 
closing this bug report with "resolved,WORKSFORME".


-- 
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.



More information about the slf4j-dev mailing list