|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.DefaultErrorHandler
public class DefaultErrorHandler
Constructor Summary | |
---|---|
DefaultErrorHandler()
|
Method Summary | |
---|---|
static void |
doDefault(ErrorEvent event)
|
void |
error(ErrorEvent event)
Invoked when an error occurs. |
static AbstractComponent |
findAbstractComponent(ErrorEvent event)
Returns the AbstractComponent associated with the given error if such can be found |
static Component |
findComponent(com.vaadin.shared.Connector connector)
Finds the nearest component by traversing upwards in the hierarchy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultErrorHandler()
Method Detail |
---|
public void error(ErrorEvent event)
ErrorHandler
error
in interface ErrorHandler
event
- the fired event.public static void doDefault(ErrorEvent event)
public static AbstractComponent findAbstractComponent(ErrorEvent event)
event
- The error to investigate
AbstractComponent
to error relates to or null if
could not be determined or if the error does not relate to any
AbstractComponent.public static Component findComponent(com.vaadin.shared.Connector connector)
Component
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |