HasErrorHandlers abstract class
A widget that implements this interface provides registration for {@link ErrorHandler} instances.
abstract class HasErrorHandlers extends HasHandlers {
 /**
  * Adds an {@link ErrorEvent} handler.
  *
  * @param handler the error handler
  * @return {@link HandlerRegistration} used to remove this handler
  */
 HandlerRegistration addErrorHandler(ErrorHandler handler);
}
Extends
HasHandlers > HasErrorHandlers
Subclasses
Methods
abstract HandlerRegistration addErrorHandler(ErrorHandler handler) #
Adds an {@link ErrorEvent} handler.
@param handler the error handler @return {@link HandlerRegistration} used to remove this handler
abstract void fireEvent(DwtEvent event) #
inherited from HasHandlers 
Fires the given event to the handlers listening to the event's type.
Any exceptions thrown by handlers will be bundled into a UmbrellaException and then re-thrown after all handlers have completed. An exception thrown by a handler will not prevent other handlers from executing.
@param event the event