protected void perform(InvocationTargetException e, Shell shell, String title, String message) { Throwable target= e.getTargetException(); if (target instanceof CoreException) { perform((CoreException)target, shell, title, message); } else { CompareUIPlugin.log(e); if (e.getMessage() != null && e.getMessage().length() > 0) { displayMessageDialog(e, e.getMessage(), shell, title, message); } else { displayMessageDialog(e, target.getMessage(), shell, title, message); } } }
protected void perform(InvocationTargetException e, Shell shell, String title, String message) { Throwable target= e.getTargetException(); if (target instanceof CoreException) { perform((CoreException)target, shell, title, message); } else { CompareUIPlugin.log(e); if (e.getMessage() != null && e.getMessage().length() > 0) { displayMessageDialog(e, e.getMessage(), shell, title, message); } else { displayMessageDialog(e, target.getMessage(), shell, title, message); } } }
protected void perform(CoreException e, Shell shell, String title, String message) { CompareUIPlugin.log(e); IStatus status= e.getStatus(); if (status != null) { ErrorDialog.openError(shell, title, message, status); } else { displayMessageDialog(e, e.getMessage(), shell, title, message); } }
protected void perform(CoreException e, Shell shell, String title, String message) { CompareUIPlugin.log(e); IStatus status= e.getStatus(); if (status != null) { ErrorDialog.openError(shell, title, message, status); } else { displayMessageDialog(e, e.getMessage(), shell, title, message); } }