org.jboss.errai.ui.nav.client.local
Class DefaultNavigationErrorHandler
java.lang.Object
org.jboss.errai.ui.nav.client.local.DefaultNavigationErrorHandler
- All Implemented Interfaces:
- PageNavigationErrorHandler
public class DefaultNavigationErrorHandler
- extends Object
- implements PageNavigationErrorHandler
Implements default error handling behavior for page navigation.
- Author:
- Divya Dadlani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNavigationErrorHandler
public DefaultNavigationErrorHandler(Navigation navigation)
handleError
public void handleError(Exception exception,
String pageName)
- Specified by:
handleError
in interface PageNavigationErrorHandler
- Parameters:
exception
- The exception that occurs, triggering the error handler code.pageName
- The name of the page which we tried to navigate to.
handleError
public void handleError(Exception exception,
Class<? extends PageRole> pageRole)
- Specified by:
handleError
in interface PageNavigationErrorHandler
- Parameters:
exception
- The exception that occurs, triggering the error handler code.pageRole
- The role of the page which we tried to navigate to.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.