Error situations occurring during the execution of a program.
OITF provides the exception class
CX_COM_IOITF_ACTION
that can be used to raise an exception from within an action. This exception class provides attributes in addition to those that come from the root exception class
CX_ROOT
.
Below is a list of attributes that you can fill from within your action when you want to raise an exception.
Attribute |
Description |
---|---|
EXCEPTION |
This attribute is of type
|
EX_METHOD |
This attribute is of type
|
EX_CLASS |
This attribute is of type
|
BAPI_CORU_RETURN |
This attribute is of type
|
OBJECT_FAMILY |
This attribute is of type
|
Note
If you need to create your own action exception classes, they should extend (inherit) OITF’s action exception class
CX_COM_IOITF_ACTION
.
OITF provides the exception class
CX_COM_IOITF_GC_EVALUATION
that can be used to raise an exception from within a guard condition. This exception class provides attributes in addition to those that come from the root exception class
CX_ROOT
.
Below is a list of the attributes that you can fill from within your guard condition when you want to raise an exception.
Attribute |
Description |
---|---|
EXCEPTION |
This attribute is of type
|
EX_METHOD |
This attribute is of type
|
EX_CLASS |
This attribute is of type
|
BAPI_CORU_RETURN |
This attribute is of type
|
OBJECT_FAMILY |
This attribute is of type
|
EVENT_NAME |
This attribute is of type
|
Note
If you need to create your own guard condition exception classes (for whatever reason), they should extend (inherit) OITF’s guard condition exception class CX_COM_IOITF_GC_EVALUATION.
A sample application is delivered with OITF. The whole demo application is contained in package
COM_IOITF_DEMO_MODEL_HIGH_TECH
.