com.vaadin.flow.router.
Class InvalidLocationException
All Implemented Interfaces:
Thrown to indicate that a Location
instance is invalid.
Since:
Author:
Vaadin Ltd
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidLocationException
(String message) Creates a new exception with the specified detail message.
InvalidLocationException
(String message, Throwable cause) Constructs a new runtime exception with the specified detail message and cause.
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidLocationException
Creates a new exception with the specified detail message.
Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method. -
InvalidLocationException
Constructs a new runtime exception with the specified detail message and cause.
Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-