You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When your code doesn't catch exceptions, the framework catches them and displays the standard error popup. Try this:
24
+
25
+
```abap
26
+
METHOD z2ui5_if_app~main.
27
+
28
+
RAISE EXCEPTION NEW cx_sy_itab_line_not_found( ).
29
+
30
+
ENDMETHOD.
31
+
```
32
+
33
+
#### Uncatchable Exceptions / Short Dumps
34
+
What happens if your code raises uncatchable exceptions? The default HTTP handler exception output appears. Processing halts, and the user has to reload the browser. Reserve this for unexpected cases:
When your code doesn't catch exceptions, the framework catches them and displays the standard error popup. Try this:
107
-
108
-
```abap
109
-
METHOD z2ui5_if_app~main.
110
-
111
-
RAISE EXCEPTION NEW cx_sy_itab_line_not_found( ).
112
-
113
-
ENDMETHOD.
114
-
```
115
-
116
-
#### Uncatchable Exceptions / Short Dumps
117
-
What happens if your code raises uncatchable exceptions? The default HTTP handler exception output appears. Processing halts, and the user has to reload the browser. Reserve this for unexpected cases:
0 commit comments