Index: WSimpl/Unishop/Login/ParameterBepaler.cls.xml =================================================================== diff -u -r41617 -r42992 --- WSimpl/Unishop/Login/ParameterBepaler.cls.xml (.../ParameterBepaler.cls.xml) (revision 41617) +++ WSimpl/Unishop/Login/ParameterBepaler.cls.xml (.../ParameterBepaler.cls.xml) (revision 42992) @@ -53,7 +53,16 @@ Do ..ConverteerRefNaarRefSessieData(Ref) Set ..DomeinVerwerker = ..RefSessieData.Verwerker - Do:$length(DataOpt) ..ConverteerDataOptNaarKlantSessieData(DataOpt) + Try { + Do:$length(DataOpt) ..ConverteerDataOptNaarKlantSessieData(DataOpt) + } + Catch { + #dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch() + #dim Message As %String = "Fout bij Decrypt van DataOpt voor domein '"_..RefSessieData.Verwerker_"' (Modus:"_..RefSessieData.WebshopModus_" / Klant:"_..RefSessieData.KlantID_" / Offerte:"_..RefSessieData.OfferteID_")" + Set NewException = ##class(TECH.Exceptions.InvalidInputException).%New(Message) + Do NewException.VoegToeInnerExceptie(Exception) + Do ##class(TECH.ExceptionHandler).Rethrow(NewException) + } #dim WebshopSessionService As APPS.EC.WebshopSessionService = ##class(APPS.ApplicatieContext).Instance().GeefECommerceAPI().GeefWebshopSessionService() #dim PersonalityID As %String = WebshopSessionService.GeefPersonalityIDVoorDomeinVerwerker(..DomeinVerwerker)