error: 'throws' type-parameter not allowed here
Ali Ebrahimi
ali.ebrahimi1781 at gmail.com
Wed Jun 22 23:07:09 PDT 2011
No.
Ali Ebrahimi
On Thu, Jun 23, 2011 at 9:15 AM, Brenden Towey <brendentowey at gmail.com>wrote:
> On 6/22/2011 10:42 PM, Ali Ebrahimi wrote:
>
>> Hi,
>>
>> for line 2, i get this error: 'throws' type-parameter not allowed here
>>
>> public interface MList<T> extends List<T> {
>> <throws E> void forEach(ExBlock<T,E> method) throws E default
>>
> ^^^^^^^
>
> Maybe you meant just <E>?
>
>
>
More information about the lambda-dev
mailing list