Bug 496188 - StatusManager should unwrap known wrapper exceptions when displaying error messages
Summary: StatusManager should unwrap known wrapper exceptions when displaying error me...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 10:56 EDT by Brian de Alwis CLA
Modified: 2016-06-18 05:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian de Alwis CLA 2016-06-15 10:56:37 EDT
When using StatusManager.SHOW, the StatusManager should unwrap known wrapper exceptions to display a more useful error message.  Known wrapper exceptions include:

  java.lang.reflect.InvocationTargetException
  org.eclipse.core.commands.ExecutionException
  org.eclipse.core.runtime.CoreException (to get the Status object)

This is already done by PDEPlugin#logException() for example.