ABAP Keyword Documentation → ABAP - Short Reference
RAISE EXCEPTION - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
RAISE [RESUMABLE] EXCEPTION
{ {TYPE cx_class [EXPORTING p1 = a1 p2 = a2 ...]}
| oref }.
Effect
Triggers a class-based exception.
Additions
-
RESUMABLE
Triggers a resumable exception. -
TYPE cx_class [EXPORTING p1 = a1 p2 = a2 ...]
Specifies the exception class and transfers actual parametersa1
,a2
, ... to the input parametersp1
,p2
, ... of the constructor. -
oref
Uses an existing exception object that refers to theoref
.