check_no_handler_pragma - Check if NO_HANDLER can be removed

 home edit

Description

Checks NO_HANDLER pragmas that can be removed

Default Configuration

Hover to see descriptions, Ctrl+Space for suggestions

Examples

Bad example:
TRY.
    ...
  CATCH zcx_abapgit_exception ##NO_HANDLER.
    RETURN. " it has a handler
ENDTRY.

Good example:
TRY.
    ...
  CATCH zcx_abapgit_exception.
    RETURN.
ENDTRY.