- edited description
Code Inspection returns unexpected error when method rthrows custom exeption
Issue #1756
resolved
Code to throw a custom exception the inspector marks it as invalid saying it “Expected type exception”
Code deploys and function appropriately
Comments (5)
-
reporter -
reporter - changed title to Code Inspection returns unexpected error when method rthrows custom exeption
- edited description
-
repo owner Eric, where is
Terminal_Exception
? The core issue where is that the type cannot be resolved, so IC doesn't know that it extendsException
. The first reported issue ("Expected type Exception...") is a downstream effect of the second ("Cannot resolve symbol..."). Once the latter is resolved, the former should also be resolved.If that type is in the same project, please use Illuminated Cloud>Configure Project>Rebuild Caches and Indices and allow the project to close/reopen.
-
reporter It went away after I upgraded to 2.1.4.9 and reopened the project.
-
reporter - changed status to resolved
- Log in to comment