Index: AXimpl/Dynamics/DocumentLocationOut/DocumentLocationService.cls.xml =================================================================== diff -u -r73176 -r73987 --- AXimpl/Dynamics/DocumentLocationOut/DocumentLocationService.cls.xml (.../DocumentLocationService.cls.xml) (revision 73176) +++ AXimpl/Dynamics/DocumentLocationOut/DocumentLocationService.cls.xml (.../DocumentLocationService.cls.xml) (revision 73987) @@ -69,8 +69,12 @@ Set Request.DocumentTypePDF = ##class(AXimpl.Dynamics.DocumentLocationOut.enu.DocumentType).DisplayToLogical(DocumentType) Set FilenamePDF = ..getFilenamePDF(Request).FilenamePDF } Catch { - #dim Exception As TECH.IException = ##class(TECH.ExceptionHandler).Catch() Do ..Logger.Debug("GeefBestandslocatieError","WS AXimpl DocumentLocationService : Return FilenamePDF mislukt") + + #dim GecatchteException As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch() + Set NewException = ##class(TECH.Exceptions.GeneralErrorException).%New("Fout bij WS AXimpl DocumentLocationService : Return FilenamePDF mislukt voor type '"_DocumentType_"' en id '"_DocumentId_"'.") + Do NewException.VoegToeInnerExceptie(GecatchteException) + Do ..Logger.LogExceptie(NewException) //Do ##class(TECH.ExceptionHandler).Throw(Exception) }