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

Bug 352122

Summary: JS: "Exception" support
Product: z_Archived Reporter: Scott Greer <greer>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Scott Greer CLA 2011-07-14 11:41:20 EDT
Excetion handling is already implemented, however, we need to support for declaring exceptions and then verify with execution of fvt.basestatements.TestExceptionHandlingLib.egl.
Comment 1 Scott Greer CLA 2011-09-02 08:16:30 EDT
Updated the runtime....  After talking with Matt and Joe, we concluded the best way to restore the JS RT exceptions -- which recently have essentially been commented out and replaced with a single generic exception string -- was to restore the old egl.createRuntimeException logic but change it to instantiate an AnyException.    This is consistent with the EDT design of using AnyException to cover all generic runtime exceptions (however, I did add into Runtime.js a commented-out declaration of a new version of the RuntimeException appropriately derived from AnyException).
Comment 2 Scott Greer CLA 2011-09-02 08:18:53 EDT
Regarding previous comment, I also updated the deployment generator to include the "new" RuntimeException.js file.
Comment 3 Scott Greer CLA 2011-09-07 21:10:40 EDT
Verified.
Comment 4 Lisa Lasher CLA 2011-11-04 11:45:38 EDT
Closing this work item