Index: TECH/OBJ/Validator.cls.xml =================================================================== diff -u -r1074 -r2217 --- TECH/OBJ/Validator.cls.xml (.../Validator.cls.xml) (revision 1074) +++ TECH/OBJ/Validator.cls.xml (.../Validator.cls.xml) (revision 2217) @@ -17,10 +17,7 @@ set lbClassAndMethod = ##class(TECH.ClassUtils).GetCallingMethod() set ClassName = $listget(lbClassAndMethod,1) set Method = $listget(lbClassAndMethod,2) - if '##class(TECH.ClassUtils).IsValidReturnTypeForMethod(.Value,ClassName,Method) { - Set Info = "ClassName: "_ClassName_$$$CRLF_"Method: "_Method - $$$ThrowError($$$errInvalidOutput,Info) - } + Do ##class(TECH.ClassUtils).ValidateReturnTypeForMethod(.Value,ClassName,Method) quit ]]> Index: WS/Info/Agenda.cls.xml =================================================================== diff -u -r2206 -r2217 --- WS/Info/Agenda.cls.xml (.../Agenda.cls.xml) (revision 2206) +++ WS/Info/Agenda.cls.xml (.../Agenda.cls.xml) (revision 2217) @@ -28,7 +28,6 @@ %Boolean 1 Index: vhUnitTest/APPS/HR/ProTime/FacadeUpdate.cls.xml =================================================================== diff -u -r1742 -r2217 --- vhUnitTest/APPS/HR/ProTime/FacadeUpdate.cls.xml (.../FacadeUpdate.cls.xml) (revision 1742) +++ vhUnitTest/APPS/HR/ProTime/FacadeUpdate.cls.xml (.../FacadeUpdate.cls.xml) (revision 2217) @@ -27,15 +27,11 @@ %Status -AutomatischDoorvoeren:%Boolean=1 +StuurMail:%Boolean=1 %Status Index: TECH/ClassUtils.cls.xml =================================================================== diff -u -r2207 -r2217 --- TECH/ClassUtils.cls.xml (.../ClassUtils.cls.xml) (revision 2207) +++ TECH/ClassUtils.cls.xml (.../ClassUtils.cls.xml) (revision 2217) @@ -40,7 +40,7 @@ /// Deep validate Set HeeftDefaultArg = ($length(DefaultArg)>0) If ('HeeftDefaultArg || (HeeftDefaultArg && HeeftParameterInhoud)){ - Do ##class(TECH.ClassUtils).ValueIsValid(@ParameterName,Parameter.GeefType()) + Do ##class(TECH.ClassUtils).ValidateValue(@ParameterName,Parameter.GeefType()) } Set CurrentParameter = CurrentParameter + 1 } @@ -109,7 +109,7 @@ ]]> - + 1 1 + + + +1 + + - + Throwt foutmelding indien niet geldig. 1 @@ -155,10 +168,24 @@ Set:(($G(%objlasterror)'="") && '(%objlasterror [ "ECODETRAP")) Message = Message_" "_$$ParseStatus^vhLib(%objlasterror) Do ##class(TECH.ExceptionHandler).Throw(##class(TECH.Exceptions.InvalidInputException).%New(Message)) } - quit ]]> + +1 + +%Boolean + + + Throwt foutmelding indien niet geldig. Index: vhUnitTest/APPS/CRM/TestKlantBestand.cls.xml =================================================================== diff -u -r2192 -r2217 --- vhUnitTest/APPS/CRM/TestKlantBestand.cls.xml (.../TestKlantBestand.cls.xml) (revision 2192) +++ vhUnitTest/APPS/CRM/TestKlantBestand.cls.xml (.../TestKlantBestand.cls.xml) (revision 2217) @@ -13,7 +13,7 @@ 1 - + TimeOut:%Integer=10,LockType:TECH.enu.LockType="X" Index: TECH/File/FileWriter.cls.xml =================================================================== diff -u -r2192 -r2217 --- TECH/File/FileWriter.cls.xml (.../FileWriter.cls.xml) (revision 2192) +++ TECH/File/FileWriter.cls.xml (.../FileWriter.cls.xml) (revision 2217) @@ -39,7 +39,7 @@ /// Nagaan of reeds naar bestand wordt geschreven door ander process Set ..LockHelper = ##class(TECH.Lock).%New(..GeefLockKey()) - If ('..LockHelper.IsGelocked()) { + If ('..LockHelper.HeeftLock()) { Do ..LockHelper.Lock(##class(TECH.enu.LockType).Exclusive()) }Else{ Set Exception = ##class(TECH.Exceptions.FileException).%New("Er wordt reeds naar de file '"_..Bestand_"' geschreven.",1)