Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355197

Summary: The statement “Call Service statement” onException report error.
Product: z_Archived Reporter: Xiao Bin Chen <xiaobinc>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
program code
none
service code none

Description Xiao Bin Chen CLA 2011-08-19 05:32:17 EDT
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.
Comment 1 Xiao Bin Chen CLA 2011-08-19 05:33:29 EDT
Created attachment 201770 [details]
program code

program code
Comment 2 Xiao Bin Chen CLA 2011-08-19 05:34:18 EDT
Created attachment 201771 [details]
service code
Comment 3 Matt Heitz CLA 2011-08-19 09:54:43 EDT
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
Comment 4 Xiao Bin Chen CLA 2011-08-19 22:36:08 EDT
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