public interface ErrorHandler
To specify your own ErrorHandler, configure in your application module descriptor something like:
<replace-with class="YourErrorHandlerClass"><when-type-assignable class="org.cruxframework.crux.core.client.errors.ErrorHandler" /></replace-with>
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(String errorMessage)
Handle an error on application
|
void |
handleError(String errorMessage,
Throwable t)
Handle an error on application
|
void |
handleError(Throwable t)
Handle an error on application
|
void |
handleError(Throwable t,
boolean uncaught)
Handle an error on application
|
void handleError(String errorMessage)
errorMessage - The error messagevoid handleError(Throwable t)
t - The exceptionvoid handleError(Throwable t, boolean uncaught)
t - The exceptionuncaught - True if it is an uncaught exceptionCopyright © 2015. All rights reserved.