Reports object inherited from Exception because exceptions are inherently stateful, containing information like the stacktrace.

Example:


object MyEx: Exception()

After the quick-fix is applied:


class MyEx: Exception()