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

Bug 356148

Summary: Can NOT prompt AnyException when Constant Assist in try statement
Product: z_Archived Reporter: Yu Hao <yuhaodl>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, xiaobinc, yuhaodl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
add anyexception to the exception proposals. lasher: iplog+

Description Yu Hao CLA 2011-08-30 01:21:10 EDT
Build Identifier: 

when write try-onException statement. Call Constant Assist in the onException block, AnyException was not prompted.

Reproducible: Always

Steps to Reproduce:
1.create a function in a egl program
2.type try, onException then Constant Assist in the () after onException
3.you can not find AnyException
Comment 1 Yu Hao CLA 2011-08-30 01:24:30 EDT
Current there are lots of exception types when Constant Assist in the () after onException, Please confirm whether these types are supported by EDT now.
Comment 2 Xiao Bin Chen CLA 2011-08-30 21:24:28 EDT
Created attachment 202472 [details]
add anyexception to the exception proposals.

In edt the anyexception is not a "exception" type. So we need to treat it specific.

anyexception type below.
externalType AnyException extends EglAny type ClassType

general exception below:
such as arraysizeexception.
record ArraySizeException type Exception
Comment 3 Xiao Bin Chen CLA 2011-08-30 21:24:50 EDT
fixed
Comment 4 Yu Hao CLA 2011-09-30 01:33:17 EDT
verified in 201109292101