/** * Navigate to default View, if available * @throws ViewNavigationException Navigation error */ public void navigateToDefault() throws ViewNavigationException { // close any Window displayed View closeAllViewWindows(); // default view String viewName = getDefaultViewName(); if (viewName == null) { throw new ViewNavigationException(null, "No default view name defined"); } try { navigateToState(null, getDefaultViewName()); } catch (Exception e) { throw new ViewNavigationException(viewName, e); } }