com.vaadin.flow.router.

Class InvalidLocationException

All Implemented Interfaces:

Serializable

public class InvalidLocationException extends RuntimeException

Thrown to indicate that a Location instance is invalid.

Since:

Author:

Vaadin Ltd

See Also:

  • Constructor Details

    • 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.)