assertionWasWrong
Short summary
This method is called if an assertion was FALSE
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| message | AssertMessage | alarm message | input |
| additionalText | Tc2_System.T_MaxString | debugging information | input |
Code
Declaration
METHOD PROTECTED assertionWasWrong
VAR_INPUT
(* alarm message *)
message :AssertMessage;
(* debugging information *)
additionalText :Tc2_System.T_MaxString;
END_VAR
Implementation
IF (THIS^.isObjectValid(THIS^.callBack)) THEN
THIS^.callBack.assertionWasWrong(
caller := THIS^,
message := message,
additionalText := additionalText
);
END_IF