Index: APPS/TRANSP/GLS/GLSv1/Bericht/dto/Error.cls.xml =================================================================== diff -u -r40367 -r52250 --- APPS/TRANSP/GLS/GLSv1/Bericht/dto/Error.cls.xml (.../Error.cls.xml) (revision 40367) +++ APPS/TRANSP/GLS/GLSv1/Bericht/dto/Error.cls.xml (.../Error.cls.xml) (revision 52250) @@ -1,7 +1,7 @@ -%RegisteredObject +TECH.RegisteredObject %String @@ -33,8 +33,8 @@ TECH.Exceptions.enu.Niveau @@ -68,6 +68,30 @@ quit Info ]]> + + +Omschrijving:%String +1 +%String + + Index: vhUnitTest/APPS/TRANSP/GLS/CommunicatieService/TestResponse.cls.xml =================================================================== diff -u -r40545 -r52250 --- vhUnitTest/APPS/TRANSP/GLS/CommunicatieService/TestResponse.cls.xml (.../TestResponse.cls.xml) (revision 40545) +++ vhUnitTest/APPS/TRANSP/GLS/CommunicatieService/TestResponse.cls.xml (.../TestResponse.cls.xml) (revision 52250) @@ -80,7 +80,7 @@ "_$listget(Calling,2) - If (Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).Waarschuwing()) || (Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).FoutmeldingTeMeldenAanGebruiker()){ + If (Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).Waarschuwing()) { + Set BerichtVoorGebruiker = Error.ErrorCode_": "_Error.Omschrijving_$$$CRLF_"Gelieve zelf of via OV actie te ondernemen." Do ##class(vhLib.Logger).%New("GLS").Warning(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error))) + + }ElseIf(Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).FoutmeldingTeMeldenAanGebruiker()){ + + Set BerichtVoorGebruiker = Error.ErrorCode_": "_Error.Omschrijving_$$$CRLF_"Gelieve zelf of via OV actie te ondernemen." + Do ##class(vhLib.Logger).%New("GLS").Warning(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error))) + }ElseIf(Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).InterneWaarschuwing()){ + Set BerichtVoorGebruiker = Error.Niveau_$C(13,10)_"Dit is enkel een waarschuwing. Code en data zijn correct." Do ##class(vhLib.Logger).%New("GLS").WarningMail(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error))) + }ElseIf(Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).PleaseRetryError()){ + Set BerichtVoorGebruiker = "Niet gelukt. Gelieve opnieuw te proberen." Do ##class(vhLib.Logger).%New("GLS").WarningMail(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error))) + }Else{ + Set BerichtVoorGebruiker = Error.Niveau_$$$CRLF_"Dit probleem moet door ICT opgelost worden." Do ##class(vhLib.Logger).%New("GLS").ErrorMail(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error))) + } If (Error.Niveau '= ##class(TECH.Exceptions.enu.Niveau).InterneWaarschuwing()){