Felix Meschberger wrote:


Nevertheless it looks better to me to find a method with the interface class known to the consumer (Component C) and get a ClassCastException in case the Class objects would not match than to no be able to find the bind method due to incompatible class objects.

Agreed, your solution creates the more correct error message, so +1 :)

Carsten
--
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to