Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366084 - Unclear sentence.
Summary: Unclear sentence.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ben Margolis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 13:34 EST by Bob NIcholson CLA
Modified: 2017-02-23 14:17 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob NIcholson CLA 2011-12-08 13:34:45 EST
EDT:Tutorial: RUI With DataBase Lesson 8

Create functions that use the service-access variable to invoke the service 

Second paragraph following Notes

The second sentence in the following paragraph:

Our example exception handler function just displays the exception messages in the display of error information in the at the bottom of the web page (at run time). However, you would typically an error handler of your own that might log the error information, but display a message to the user saying something like "Your request cannot be completed at this time."
Comment 1 Ben Margolis CLA 2012-01-17 14:54:33 EST
Changed the exception handler:

       sysLib.writeStderr("Failure: " + ex.message);
       if (ex isa ServiceInvocationException)
       	   sysLib.writeStderr("Detail 1:  " + 
       	       (ex as ServiceInvocationException).detail1);
       	   sysLib.writeStderr("Detail 2:  " + 
       	       (ex as ServiceInvocationException).detail2);
       	   sysLib.writeStderr("Detail 3:  " + 
       	       (ex as ServiceInvocationException).detail3);
       end

Changed the statement:

The example exception handler writes text to the Eclipse console or other standard error output. This behavior is appropriate for prototypes and early in development. For production code, you need to consider the exception-handling requirements that are specific to your situation.
Comment 2 Lisa Lasher CLA 2012-01-18 14:39:14 EST
updated to show that this defect was fixed in 0.8.0 I1