Package com.vaadin.flow.router
Class InvalidLocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.flow.router.InvalidLocationException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a
Location instance is invalid.- 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). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-