public class InvalidValueExceptionHandler extends AbstractExceptionHandler
Constructor and Description |
---|
InvalidValueExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doHandle(App app,
java.lang.String className,
java.lang.String message,
java.lang.Throwable throwable)
Perform exception handling.
|
boolean |
handle(com.vaadin.server.ErrorEvent event,
App app)
Handle an exception.
|
canHandle
public boolean handle(com.vaadin.server.ErrorEvent event, App app)
ExceptionHandler
handle
in interface ExceptionHandler
handle
in class AbstractExceptionHandler
event
- error event containing the exception, generated by Vaadinapp
- current App
instanceprotected void doHandle(App app, java.lang.String className, java.lang.String message, @Nullable java.lang.Throwable throwable)
AbstractExceptionHandler
doHandle
in class AbstractExceptionHandler
app
- current App
instanceclassName
- actual exception class namemessage
- exception messagethrowable
- exception instance. Can be null if the exception occurred on the server side and this
exception class isn't accessible by the client.