Errai 3.0.1-SNAPSHOT

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

Method Summary
 void handleError(Exception exception, Class<? extends PageRole> pageRole)
           
 void handleError(Exception exception, String pageName)
           
 

Method Detail

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.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.