Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356148 - Can NOT prompt AnyException when Constant Assist in try statement
Summary: Can NOT prompt AnyException when Constant Assist in try statement
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 01:21 EDT by Yu Hao CLA
Modified: 2017-02-23 14:14 EST (History)
3 users (show)

See Also:


Attachments
add anyexception to the exception proposals. (1.75 KB, patch)
2011-08-30 21:24 EDT, Xiao Bin Chen CLA
lasher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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