public abstract class AbstractExceptionHandler extends java.lang.Object implements ExceptionHandler
canHandle(String, String, Throwable)
method.
If you need to handle a specific exception, create a descendant of this class,
pass handling exception class names into constructor, implement
doHandle(com.haulmont.cuba.web.App, String, String, Throwable)
method
and register the new handler in the definition of ExceptionHandlersConfiguration
bean in the client's
spring.xml.
Modifier and Type | Method and Description |
---|---|
boolean |
handle(com.vaadin.server.ErrorEvent event,
App app)
Handle an exception.
|
public boolean handle(com.vaadin.server.ErrorEvent event, App app)
ExceptionHandler
handle
in interface ExceptionHandler
event
- error event containing the exception, generated by Vaadinapp
- current App
instance