csense-oss / idea-kotlin-checked-exceptions

A plugin that adds errors / hints / quickfix related to checked exceptions for kotlin.
MIT License
24 stars 2 forks source link

Exception hierarchy is not treated properly #18

Closed daniel-jasinski closed 6 months ago

daniel-jasinski commented 11 months ago

When a method body throws a derived exception type and the method declares base class type the plugin issues a warning.

Tvede-dk commented 7 months ago

@daniel-jasinski Can you verify that it is this case? image

Or is it that you do not want to annotate the overriden function? Thanks :)

daniel-jasinski commented 7 months ago

I can confirm, this is an example:

image

Tvede-dk commented 6 months ago

Fixed in 2.1.1