File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ CLASS /apmg/cl_settings IMPLEMENTATION.
146146 METHOD /apmg/if_settings ~save .
147147
148148 IF /apmg/if_settings~is_valid( ) = abap_false .
149- RAISE EXCEPTION TYPE /apmg/cx_error_text EXPORTING text = ' Invalid settings' .
149+ RAISE EXCEPTION TYPE /apmg/cx_error_text EXPORTING text = | Invalid settings: { key } | .
150150 ENDIF .
151151
152152 " Save complete JSON including empty values for easy editing
@@ -160,7 +160,7 @@ CLASS /apmg/cl_settings IMPLEMENTATION.
160160 METHOD /apmg/if_settings ~set .
161161
162162 IF check_settings( settings ) IS NOT INITIAL .
163- RAISE EXCEPTION TYPE /apmg/cx_error_text EXPORTING text = ' Invalid settings' .
163+ RAISE EXCEPTION TYPE /apmg/cx_error_text EXPORTING text = | Invalid settings: { key } | .
164164 ENDIF .
165165
166166 me ->settings = CORRESPONDING #( settings ).
@@ -181,7 +181,7 @@ CLASS /apmg/cl_settings IMPLEMENTATION.
181181 ajson->to_abap( IMPORTING ev_container = settings ).
182182
183183 IF check_settings( settings ) IS NOT INITIAL .
184- RAISE EXCEPTION TYPE /apmg/cx_error_text EXPORTING text = ' Invalid settings' .
184+ RAISE EXCEPTION TYPE /apmg/cx_error_text EXPORTING text = | Invalid settings: { key } | .
185185 ENDIF .
186186
187187 me ->settings = CORRESPONDING #( settings ).
You can’t perform that action at this time.
0 commit comments