org.jboss.errai.ui.nav.client.local.api
Interface PageNavigationErrorHandler
- All Known Implementing Classes:
- DefaultNavigationErrorHandler
public interface PageNavigationErrorHandler
Defines an error handler used for page navigation errors.
- Author:
- Divya Dadlani
handleError
void handleError(Exception exception,
String pageName)
- Parameters:
exception
- The exception that occurs, triggering the error handler code.pageName
- The name of the page which we tried to navigate to.
handleError
void handleError(Exception exception,
Class<? extends PageRole> pageRole)
- 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.