Class RouteNotFoundHandler

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.router.AbstractRouteNotFoundError
com.vaadin.flow.router.RouteNotFoundError
hu.rts.mike.example.dev.crm.view.RouteNotFoundHandler
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.HasErrorParameter<com.vaadin.flow.router.NotFoundException>, Serializable

public class RouteNotFoundHandler extends com.vaadin.flow.router.RouteNotFoundError
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    setErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event, com.vaadin.flow.router.ErrorParameter<com.vaadin.flow.router.NotFoundException> parameter)
     

    Methods inherited from class com.vaadin.flow.router.AbstractRouteNotFoundError

    setRouteNotFoundErrorParameter

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Field Details

  • Constructor Details

    • RouteNotFoundHandler

      public RouteNotFoundHandler()
  • Method Details

    • setErrorParameter

      public int setErrorParameter(com.vaadin.flow.router.BeforeEnterEvent event, com.vaadin.flow.router.ErrorParameter<com.vaadin.flow.router.NotFoundException> parameter)
      Specified by:
      setErrorParameter in interface com.vaadin.flow.router.HasErrorParameter<com.vaadin.flow.router.NotFoundException>
      Overrides:
      setErrorParameter in class com.vaadin.flow.router.RouteNotFoundError