ABAP Keyword Documentation →  ABAP − Reference →  Program Flow Logic →  Exception Handling → 

Exceptions Before Class-Based Exceptions

Exceptions are class-based. Before the introduction of exception classes, there were the following types of exceptions:

Interaction of the Exception Concepts

The class-based exceptions replace and enhance the previous concepts in full. Class-based exceptions can be raised and handled in all ABAP contexts (programs, processing blocks). In particular, all previously catchable runtime errors can be handled as class-based exceptions, with the previous exception groups being mapped to shared superclasses. For reasons of downward-compatibility, the catchable runtime errors and the non-class-based exceptions defined in the interfaces of methods and function modules have not been abolished, but their use has been restricted as follows:

For reasons of interoperability, class-based exceptions can be handled within a processing block and return codes of function modules and methods evaluated there using non-class-based exceptions.




Continue
Non-Class-Based Exceptions