Index: EXT/Optima/CalculPrix/ServiceWeb.cls.xml
===================================================================
diff -u -r32100 -r32121
--- EXT/Optima/CalculPrix/ServiceWeb.cls.xml (.../ServiceWeb.cls.xml) (revision 32100)
+++ EXT/Optima/CalculPrix/ServiceWeb.cls.xml (.../ServiceWeb.cls.xml) (revision 32121)
@@ -33,8 +33,9 @@
EXT.Optima.CalculPrix.dto.Response
1
0 {
- Set Exception = ##class(TECH.Exceptions.GeneralErrorException).%New(BinaireFoutWaarde_";Ongeldige Kenmerkwaarden")
+ Set OptimaException = ##class(TECH.Exceptions.GeneralErrorException).%New(BinaireFoutWaarde_";Ongeldige Kenmerkwaarden")
}
}
+ ElseIf Exception.%Extends("TECH.Exceptions.GeneralErrorException") {
+ Set OptimaException = ##class(TECH.Exceptions.GeneralErrorException).%New("-1010;Ongekende bug bij VH")
+ Do OptimaException.VoegToeInnerExceptie(Exception)
+ }
+ Else {
+ Set OptimaException = Exception
+ }
- Set Response = ResponseVerwerker.VerwerkExceptie(Exception)
+
+ Do ##class(vhLib.Logger).LogExceptie(OptimaException)
+
+ Set Response = ResponseVerwerker.VerwerkExceptie(OptimaException)
}
Quit Response