DefaultConverterLookup method lookupConverterForType(Class type) throws a runtime exception. This was totally unexpected since I don't see it in the docs. How exactly is one supposed to /safely/ look up converters?

Why do I need to do this you ask....

I have a map from name to object. Before calling toString() on the object, I want to see if there is a converter for the object's class and if so, call it. And yes, there is a reason for using that type of map which is what has evolved (or maybe devolved) after several rounds of factoring in the code.

roland

--
                       PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
[email protected]                            6818 Madeline Court
[email protected]                           Brooklyn, NY 11220

Reply via email to