public class ErrorHandlerImpl extends Object implements ErrorHandler, ValidationErrorHandler
| Constructor and Description |
|---|
ErrorHandlerImpl() |
| 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 |
handleValidationError(String errorMessage)
Handle a validation error
|
com.google.gwt.user.client.ui.Widget |
handleValidationError(com.google.gwt.user.client.ui.Widget widget,
String errorMessage)
Handle a validation error inside a widget
|
public void handleError(String errorMessage)
ErrorHandlerhandleError in interface ErrorHandlererrorMessage - The error messagepublic void handleError(Throwable t)
ErrorHandlerhandleError in interface ErrorHandlert - The exceptionpublic void handleError(String errorMessage, Throwable t)
ErrorHandlerhandleError in interface ErrorHandlererrorMessage - The error messaget - The exceptionpublic void handleValidationError(String errorMessage)
ValidationErrorHandlerhandleValidationError in interface ValidationErrorHandlererrorMessage - The error message.public void handleError(Throwable t, boolean uncaught)
ErrorHandlerhandleError in interface ErrorHandlert - The exceptionuncaught - True if it is an uncaught exceptionpublic com.google.gwt.user.client.ui.Widget handleValidationError(com.google.gwt.user.client.ui.Widget widget,
String errorMessage)
ValidationErrorHandlerhandleValidationError in interface ValidationErrorHandlerwidget - the corresponding widget to be marked as invaliderrorMessage - The error message.Copyright © 2015. All rights reserved.