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

Class InvalidLocationException

    • Constructor Detail

      • InvalidLocationException

        public InvalidLocationException​(String message)

        Creates a new exception with the specified detail message.

        Parameters:

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

      • InvalidLocationException

        public InvalidLocationException​(String message,
                                        Throwable cause)

        Constructs a new runtime exception with the specified detail message and cause.

        Parameters:

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

        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)