public class ErrorEvent extends Object implements Serializable
ErrorHandler
.
Typically handled by VaadinSession.getErrorHandler()
.Constructor and Description |
---|
ErrorEvent(Throwable throwable)
Creates an error event which wraps the given throwable.
|
Modifier and Type | Method and Description |
---|---|
static ErrorHandler |
findErrorHandler(VaadinSession session)
Finds the error handler for the given session.
|
Throwable |
getThrowable()
Gets the contained throwable, the cause of the error.
|
public ErrorEvent(Throwable throwable)
throwable
- the throwable to wrappublic Throwable getThrowable()
public static ErrorHandler findErrorHandler(VaadinSession session)
session
- the active sessionCopyright © 2020. All rights reserved.