ABAP - Keyword Documentation →  ABAP - Release-Specific Changes →  Changes in Releases 7.5x →  Changes in Release 7.50 → 

Exception Classes in Release 7.50


1. New system interface for messages


2. MESSAGE Addition for RAISE EXCEPTION and THROW



Modification 1

New System Interface for Messages

The new system interface IF_T100_DYN_MSG adds predefined attributes for the message type and the placeholders of the message to the interface IF_T100_MESSAGE. IF_T100_DYN_MSG makes it possible to associate any message with exception classes.



Modification 2

MESSAGE Addition for RAISE EXCEPTION and THROW

The new addition MESSAGE of the statement RAISE EXCEPTION and of the addition THROW in a conditional expression associates any message with an exception object. The exception class in question must include the new system interface IF_T100_DYN_MSG. It is also possible to use the addition with exception classes that include only the system interface IF_T100_MESSAGE, but with restrictions.