}
protected void handleException(Throwable ex, String title, String msg)
{
//ensure first that the exception is not due to running in the wrong eclipse perspective
NavigationView view = (NavigationView)_window.getActivePage().findView(NavigationView.ID);
if (view == null)
{
IStatus status = new Status(IStatus.WARNING, ApplicationWorkbenchAdvisor.PERSPECTIVE_ID,
IStatus.OK, CHANGE_PERSPECTIVE, null);
ErrorDialog.openError(_window.getShell(), "Warning", INVALID_PERSPECTIVE, status);