Re: Questions on Providers interface
Hi,
>> 1. Why isn't T declared to extend Exceptions or Throwable?
>
> IIRC we did discuss this a while ago but never settled on an answer.
> Strictly speaking I guess it should be:
>
> public interface ExceptionMapper<E extends Throwable> {...}
>
> and
>
> <T extends Throwable> ExceptionMapper<T> getExceptionMapper(Class<T>
> type);
+1
best reards
Stephan