public class

ErrorEvent

extends DomEvent<H extends EventHandler>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler>
     ↳ com.google.gwt.event.dom.client.DomEvent<H extends com.google.gwt.event.shared.EventHandler>
       ↳ com.google.gwt.event.dom.client.ErrorEvent

Class Overview

Represents a native error event.

Summary

Protected Constructors
ErrorEvent()
Public Methods
final Type<ErrorHandler> getAssociatedType()
Returns the type used to register this event.
static Type<ErrorHandler> getType()
Gets the event type associated with error events.
Protected Methods
void dispatch(ErrorHandler handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.dom.client.DomEvent
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object
From interface com.google.gwt.event.dom.client.HasNativeEvent

Protected Constructors

protected ErrorEvent ()

Public Methods

public final Type<ErrorHandler> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public static Type<ErrorHandler> getType ()

Gets the event type associated with error events.

Returns
  • the handler type

Protected Methods

protected void dispatch (ErrorHandler handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler