|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.client.errors.ErrorHandlerImpl
public class ErrorHandlerImpl
| Constructor Summary | |
|---|---|
ErrorHandlerImpl()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorHandlerImpl()
| Method Detail |
|---|
public void handleError(String errorMessage)
ErrorHandler
handleError in interface ErrorHandlererrorMessage - The error messagepublic void handleError(Throwable t)
ErrorHandler
handleError in interface ErrorHandlert - The exception
public void handleError(String errorMessage,
Throwable t)
ErrorHandler
handleError in interface ErrorHandlererrorMessage - The error messaget - The exceptionpublic void handleValidationError(String errorMessage)
ValidationErrorHandler
handleValidationError in interface ValidationErrorHandlererrorMessage - The error message.
public void handleError(Throwable t,
boolean uncaught)
ErrorHandler
handleError in interface ErrorHandlert - The exceptionuncaught - True if it is an uncaught exception
public com.google.gwt.user.client.ui.Widget handleValidationError(com.google.gwt.user.client.ui.Widget widget,
String errorMessage)
ValidationErrorHandler
handleValidationError in interface ValidationErrorHandlerwidget - the corresponding widget to be marked as invaliderrorMessage - The error message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||