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

Bug 355980

Summary: NoSuchFunctionError when assigning a string to the message of an exception
Product: z_Archived Reporter: Brian Svihovec <svihovec>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jeffdouglas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brian Svihovec CLA 2011-08-26 16:33:50 EDT
Create a program named P4 and add the source below.  The following exception is thrown when the file is saved:

Caused by: org.eclipse.edt.mof.egl.NoSuchFunctionError
	at org.eclipse.edt.mof.egl.impl.BinaryExpressionImpl.resolveOperation(BinaryExpressionImpl.java:61)
	at org.eclipse.edt.mof.egl.impl.MultiOperandExpressionImpl.getOperation(MultiOperandExpressionImpl.java:43)
	... 125 more

Source:

program P4 type BasicProgram {}
	
	function main()
		try
			
		onException(ex AnyException)
			if( ex.messageID == "CRRUI2025E") 
        	else
        		throw(ex);
        	end       				
		end 
	end
	
end
Comment 1 Jeff Douglas CLA 2011-10-01 16:47:09 EDT
works now
Comment 2 Brian Svihovec CLA 2011-11-30 14:45:29 EST
Verified and closed in build 20111130.