In the following code, the quick assistant does a few suggestions to add "TRY" or "RAISING":
CLASS lcl_app DEFINITION. PUBLIC SECTION. METHODS test. METHODS get_operation RETURNING VALUE(text) TYPE string. ENDCLASS. CLASS lcl_app IMPLEMENTATION. METHOD test. RAISE EXCEPTION TYPE cx_sy_zerodivide EXPORTING operation = 'get_operation( )'. " ADT quick assistant suggestions OK ENDMETHOD. METHOD get_operation. ENDMETHOD. ENDCLASS.
But if I change the code to that:
RAISE EXCEPTION TYPE cx_sy_zerodivide EXPORTING operation = get_operation( ). " ADT quick assistant suggestions KO
Then I get "No suggestions available":
My ADT version is 3.0.5 and Eclipse 2018-12.
Thanks a lot.