All files / src zcx_abapgit_type_not_supported.clas.abap

52.94% Statements 27/51
50% Branches 1/2
50% Functions 1/2
52.94% Lines 27/51

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 521x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                                  
CLASS zcx_abapgit_type_not_supported DEFINITION
  PUBLIC
  INHERITING FROM zcx_abapgit_exception
  CREATE PUBLIC .
 
  PUBLIC SECTION.
    METHODS constructor
      IMPORTING
        textid   LIKE if_t100_message=>t100key OPTIONAL
        previous LIKE previous OPTIONAL
        log      TYPE REF TO zif_abapgit_log OPTIONAL
        msgv1    TYPE symsgv OPTIONAL
        msgv2    TYPE symsgv OPTIONAL
        msgv3    TYPE symsgv OPTIONAL
        msgv4    TYPE symsgv OPTIONAL
        longtext TYPE csequence OPTIONAL
        obj_type TYPE trobjtype.
 
    METHODS get_text REDEFINITION.
 
  PROTECTED SECTION.
  PRIVATE SECTION.
    DATA mv_obj_type TYPE trobjtype.
ENDCLASS.
 
 
 
CLASS zcx_abapgit_type_not_supported IMPLEMENTATION.

  METHOD constructor ##ADT_SUPPRESS_GENERATION.

    super->constructor(
        textid   = textid
        previous = previous
        log      = log
        msgv1    = msgv1
        msgv2    = msgv2
        msgv3    = msgv3
        msgv4    = msgv4
        longtext = longtext ).

    mv_obj_type = obj_type.

  ENDMETHOD.


  METHOD get_text.
    result = |Object type { mv_obj_type } is not supported by this system|.
  ENDMETHOD.

ENDCLASS.