Index: APPS/PM/KenmMWFPlugin.cls.xml =================================================================== diff -u -r1425 -r1434 --- APPS/PM/KenmMWFPlugin.cls.xml (.../KenmMWFPlugin.cls.xml) (revision 1425) +++ APPS/PM/KenmMWFPlugin.cls.xml (.../KenmMWFPlugin.cls.xml) (revision 1434) @@ -62,16 +62,16 @@ Quit Fout Set $ZTRAP = "" + Set Exception = ##class(TECH.ExceptionHandler).Catch() Do OperatieScope.Gefaald() + Do ##class(vhLib.Logger).%New(..#ApplicatieNaam).Error("Exceptie verwerking",Exception.ToString()) ]]> KenmerkModifiedEventData:TECH.Events.KenmerkModifiedEventData 1 + +Object:%Persistent,PropertyNaam:%String +1 +%String + + + GroepID:%String 1 @@ -288,6 +305,11 @@ Set ProductGroep = $Extract(GroepID,1,3) Set Rol = $Extract(GroepID,4,$Length(GroepID)) + If ('##class(%Dictionary.CompiledClass).%ExistsId("DOM.PM.Maatwerk.Calc.HF.impl."_ProductGroep_".HalffabClassNameFactory")) + { + Do ##class(TECH.ExceptionHandler).Throw(##class(TECH.Exceptions.BaseException).%New(##class(TECH.enu.ExceptionCode).InvalidInput(),"Er werd geen halffab classname factory gevonden voor de productgroep """_ProductGroep_"""")) + } + Set HalffabClassNameFactory = $zobjclassmethod("DOM.PM.Maatwerk.Calc.HF.impl."_ProductGroep_".HalffabClassNameFactory","%New") Quit HalffabClassNameFactory.GeefHalffabKlasseNaamVoor(Rol) ]]>