Community
Participate
Working Groups
Build Identifier: Please see the img. Reproducible: Always Steps to Reproduce: 1.create a service 2.create a basic program and a service instance in the program 3.write the right call back function and error handler function 4.although the error handler function is right ,but the error still show.
Created attachment 201770 [details] program code program code
Created attachment 201771 [details] service code
Xiao Bin, what's the error message? I typed in the code and got no errors. My version of your program and service are below. --- program package test; import egl.lang.AnyException; program svctest asev BService; function main() call asev.hello() returning to callback onException dd; end function callback(s string in) end function dd(a AnyException in) end end --- service package test; service BService function hello() returns(string) end end
The error message is IWN.VAL.3398.e 14/55 test - The parameter at position 1 of function dd must have a type of egl.core.AnyException. But After I update all of my plugin project , The error disappear. Thought it should be the egl.core.AnyException was changed to egl.lang.AnyException. So I closed the defects. (In reply to comment #3) > Xiao Bin, what's the error message? I typed in the code and got no errors. > > My version of your program and service are below. > > --- program > > package test; > > import egl.lang.AnyException; > > program svctest > > asev BService; > function main() > call asev.hello() returning to callback onException dd; > end > > function callback(s string in) > end > > function dd(a AnyException in) > end > end > > --- service > > package test; > > service BService > function hello() returns(string) > end > end