Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2807

Question about Exception Propagation to highest processing block

$
0
0

Hi experts,

 

As BC401, when the supe class of an exception class is CX_NO_CHECK, then the exception raised will be propagated out automatically until the highest processing block. If there is no correct CATCH object, then a DUMP happens.

But in my testing, I raised a CX_NO_CHECK exception in my normal class method without defining it in the Exception tab of this method, a DUMP occurs immediately. So I have no idea about what is the 'highest processing block' menthioned abive?

In the document, 'highest processing blkck' is defined as 'processing block with out local data areas - that is event block and dialg modules'. How to understand this correctly? Any examples?

 

Also document mentions that a exception inherited from CX_STATIC_CHECK will show a warning message if it is not catched or defnied in the Exception list of the method. But I did not get thsi warning message actually. Is this changed in the later version of ABAP stack?


Viewing all articles
Browse latest Browse all 2807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>