Taryck / zaplink

Automatically exported from code.google.com/p/zaplink
0 stars 1 forks source link

Message Base Exception classes and inheritence #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a exception class message based
2. Create a exception class that inherit from the previous one
3. Create exception text in both classes
4. Export both classes

What is the expected output?
Both class will have exception_texts markup

What do you see instead?
Only the first one that introduce message based exception class has 
exception_texts markup
This errors comes from : ZAPLINK_CLAS_DATA->FROM_DATA
`  IF fm_data-class-category = seoc_category_exception.
    READ TABLE _fm_data-implementings TRANSPORTING NO FIELDS WITH KEY refclsname = intf_4_message_exception_cl.
    IF sy-subrc = 0.      " Message based Exception
`
Where Interface for message exception classe is searched only in the class 
it-self but not in parent classes

Original issue reported on code.google.com by tar...@bensiali.net on 2 Sep 2011 at 8:29

GoogleCodeExporter commented 9 years ago
Fixed with changeset : 
http://code.google.com/p/zaplink/source/detail?r=b2ce5f6649cee30fca4a64ae5ab7cf4
992480c9d

Original comment by tar...@bensiali.net on 2 Sep 2011 at 8:57