@Tag(value="div") public class RouteNotFoundError extends Component implements HasErrorParameter<NotFoundException>
Constructor and Description |
---|
RouteNotFoundError() |
Modifier and Type | Method and Description |
---|---|
int |
setErrorParameter(BeforeEnterEvent event,
ErrorParameter<NotFoundException> parameter)
Callback executed before rendering the exception view.
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttachListener
addDetachListener
public int setErrorParameter(BeforeEnterEvent event, ErrorParameter<NotFoundException> parameter)
HasErrorParameter
Note! returned int should be a valid
HttpServletResponse
code
setErrorParameter
in interface HasErrorParameter<NotFoundException>
event
- the before navigation event for this requestparameter
- error parameter containing custom exception and caught
exceptionHttpServletResponse
codeCopyright © 2020. All rights reserved.