Community
Participate
Working Groups
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."
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.
updated to show that this defect was fixed in 0.8.0 I1