Skip to main content

assertionWasWrong

Short summary​

This method is called if an assertion was FALSE

Parameters​

NameTypeCommentKind
callerCNM_AbstractObject.IObjectcaller object of the methodinput
messageAssertMessagealarm messageinput
additionalTextTc2_System.T_MaxStringdebugging informationinput

Code​

Declaration​

METHOD assertionWasWrong
VAR_INPUT
(* caller object of the method *)
caller :CNM_AbstractObject.IObject;
(* alarm message *)
message :AssertMessage;
(* debugging information *)
additionalText :Tc2_System.T_MaxString;
END_VAR