Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
23 lines
547 B
ABAP
23 lines
547 B
ABAP
CLASS {{p}}cx_prereq_missing DEFINITION
|
|
PUBLIC
|
|
INHERITING FROM {{p}}cx_exam_error
|
|
FINAL
|
|
CREATE PUBLIC.
|
|
|
|
PUBLIC SECTION.
|
|
DATA mv_prereq TYPE string READ-ONLY.
|
|
|
|
METHODS constructor
|
|
IMPORTING iv_student_id TYPE string
|
|
iv_prereq TYPE string.
|
|
ENDCLASS.
|
|
|
|
|
|
CLASS {{p}}cx_prereq_missing IMPLEMENTATION.
|
|
METHOD constructor.
|
|
super->constructor( iv_student_id = iv_student_id
|
|
iv_text = 'The prerequisite exam is not passed.' ).
|
|
mv_prereq = iv_prereq.
|
|
ENDMETHOD.
|
|
ENDCLASS.
|