>>>>> "Jeroen" == Jeroen Frijters <[EMAIL PROTECTED]> writes:

>> +            catch (ClassNotFoundException ignore)
>> +              {
>> +                // Fall through.
>> +              }
>> +            catch (NoSuchMethodException ignore)
>> +              {
>> +                // Fall through.
>> +              }
>> +            catch (InstantiationException ignore)
>> +              {
>> +                // Fall through.
>> +              }
>> +            catch (InvocationTargetException ignore)
>> +              {
>> +                // Fall through.
>> +              }
>> +            catch (IllegalAccessException ignore)
>> +              {
>> +                // Fall through.
>> +              }

Jeroen> Do we really want to swallow all these exception? Obviously
Jeroen> ClassNotFoundException, but others should only result from programming
Jeroen> errors or classes that incorrectly follow the naming convention, right?

I was of two minds here.

I suppose wrapping other exceptions in an internal error of some kind
would be appropriate, these do represent programming errors in the
class library.

I will do that.

Tom

Reply via email to