Titan



raise


The operation belongs to the family of procedure-based communication operations. It is used to raise an exception as a reaction to an accepted procedure call the result of which leads to an exceptional event.

Related keywords:


port_reference.raise ( signature_reference , [ exception_type:]exception_value ) [ to address_reference ] ;  


Example 1:

signature S_MyProccc (in charset pl_MyPar71) exception (integer, float);

MujPort_PCO.raise(S_MyProccc, integer:19) to system;

The signature S_MyProccc suitable for blocking communication is defined in the first line. It has one parameter (pl_MyPar71) and it may raise exceptions of integer and floating point type. In the second line, the exception is raised at  the port MujPort_PCO. The port is connected to several components therefore it must be addressed, in our case to the test system interface. The exception raised is represented by an integer value (19) 



BNF definition of raise