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
messageCNM_AssertionInterfaces.AssertMessagealarm messageinput
additionalTextTc2_System.T_MaxStringdebugging informationinput

Code​

Declaration​

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

Implementation​

THIS^.throw();