in the error.prg i see that you have added to the "Description :" etc. layout self:stacktrace, but the output is a bit confusing because in the resx file "ERROR_STACK" and "ERROR_CALLEDFROM" have the same value "called from". I think it´s better if the value of "ERROR_STACK" is "Stack" or maybe "Stacktrace"
Code: Select all
<data name="ERROR_STACK" xml:space="preserve">
<value>Called from</value>
</data>
<data name="ERROR_CALLEDFROM" xml:space="preserve">
<value>Called from</value>
Code: Select all
Method EnforceError1() class dtawin
self:server:Fieldput ( #xxxxx , 123 ) // field doesn´t exist
Method EnforceError2() class dtawin
local o as dbserver
o := Dbserver { "foo" }
o:Fieldput ( #xxxxx , 123 ) // field doesn´t exist
method Error(e) class dtawin // this method is called if a self:server error happens
e:Throw() // forward the exception to the global handler
Any chance that a self:server exception goes directly to a global handler ?
BTW. Are there beside "DBSERVER" and "WCERROR" exceptions some more VO specific exceptions that use the "Description :" etc. layout ?
regards
Karl-Heinz