4 ms·
Ah, that's because java generics don't work with exceptions.
by swsieber 8y ago
Ah, that's because java generics don't work with exceptions.
- vbezhenar 8y agoWhat do you mean? They do work with exceptions.
- swsieber 8y agoAh, my mistake. I was thinking of generice type arguments for exception subclasses: https://www.mscharhag.com/java/java-exceptions-and-generic-types https://www.mscharhag.com/java/java-exceptions-and-generic-t... That also includes generic catch clauses and inner exception types of classes with type parameters.