User Tools

Site Tools


abap:objet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
abap:objet [2014/11/14 11:55] ginkoabap:objet [2016/05/02 16:53] – [Exceptions] ginko
Line 8: Line 8:
 DATA(lv_ret) = me->method( arg ). " From within</code> DATA(lv_ret) = me->method( arg ). " From within</code>
 ===== Exceptions ===== ===== Exceptions =====
 +**__NB__** : L'instruction ''TRY. ... CATCH ...'' ne peut catcher que les class-exceptions !! (Donc bien cocher ''Class exceptions'' dans la définition des méthodes.
 +
 <code abap>DATA lx_error TYPE REF TO cx_root. <code abap>DATA lx_error TYPE REF TO cx_root.
 RAISE EXCEPTION lx_error.</code> RAISE EXCEPTION lx_error.</code>
abap/objet.txt · Last modified: 2016/09/08 12:11 by ginko