Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
23 lines
546 B
ABAP
23 lines
546 B
ABAP
CLASS {{p}}cx_deadline_passed DEFINITION
|
|
PUBLIC
|
|
INHERITING FROM {{p}}cx_exam_error
|
|
FINAL
|
|
CREATE PUBLIC.
|
|
|
|
PUBLIC SECTION.
|
|
DATA mv_reg_date TYPE d READ-ONLY.
|
|
|
|
METHODS constructor
|
|
IMPORTING iv_student_id TYPE string
|
|
iv_reg_date TYPE d.
|
|
ENDCLASS.
|
|
|
|
|
|
CLASS {{p}}cx_deadline_passed IMPLEMENTATION.
|
|
METHOD constructor.
|
|
super->constructor( iv_student_id = iv_student_id
|
|
iv_text = 'The registration deadline has passed.' ).
|
|
mv_reg_date = iv_reg_date.
|
|
ENDMETHOD.
|
|
ENDCLASS.
|