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

Bug 353518

Summary: Translators exceptions are not shown to users
Product: z_Archived Reporter: Marcelo Bossoni <mmbossoni>
Component: SequoyahAssignee: Project Inbox <localization.sequoyah-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: kpqb38, nkvg64, wmg040
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Change some return values to let translators exceptions be displayed to users wmg040: iplog+

Description Marcelo Bossoni CLA 2011-08-01 13:33:18 EDT
Build Identifier: 

Any exceptions thrown by translators are just logged using the BaseLogger and are not displayed to users.

The localization framework should handle these exceptions and offer the right message to users.

Reproducible: Always

Steps to Reproduce:
1. Create a translator that throws some exception.
2. Run the translate action using that translator
3. The exception is never displayed unless you create a message dialog from within the translator code. This also cause two error dialogs being shown.
Comment 1 Marcelo Bossoni CLA 2011-08-01 14:38:46 EDT
Created attachment 200666 [details]
Change some return values to let translators exceptions be displayed to users

This patch break some APIs because I'm using IStatus to handle the status/messages (the translated methods were returning booleans before) instead of Exceptions.