ABAP - Keyword Documentation →  ABAP - Reference →  Program Flow Logic →  Exception Handling →  Class-Based Exceptions →  Exception Classes → 

Exception Categories

Exception classes are subclasses of the following global classes:

The common superclass for these classes is CX_ROOT. The assignment to one of these three superclasses determines the exception category, which itself specifies whether an exception must be declared explicitly in the procedure interface when propagating from a procedure, and how the declaration is checked:

If an exception not declared in the interface of a procedure is propagated from the procedure, the interface is violated and an exception of the predefined class CX_SY_NO_HANDLER is raised in the call point of the procedure. The exception object of the exception contains a reference to the original exception in the attribute PREVIOUS.

Programming Guideline

Use a suitable exception category

Notes