https://kotlinlang.org logo
#announcements
Title
# announcements
g

greybird

07/09/2017, 4:22 PM
@jschneider In Java I think
throws Throwable
implies that a subclass of Throwable may be thrown. So perhaps you don't need the generic type param, from the Java perspective at least. Are you using type E elsewhere in the method?
j

jschneider

07/09/2017, 6:11 PM
greybird: Unfortunately there is existing Java code that extends that method. But maybe you are right. I will give it a shot
Unfortunately that does not work, since some java code is calling these methods. Currently they catch only the required exceptions...
g

greybird

07/09/2017, 7:25 PM
I see.
3 Views