You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.router.

Class NotFoundException

  • All Implemented Interfaces:

    Serializable

    public class NotFoundException
    extends RuntimeException

    Exception indicating that something went wrong while resolving navigation routes.

    Since:

    1.0

    See Also:

    Serialized Form

    • Constructor Detail

      • NotFoundException

        public NotFoundException()

        Default constructor.

      • NotFoundException

        public NotFoundException​(String message)

        Navigation exception thrown when routing fails due to a faulty navigation target string.

        Parameters:

        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.