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:
public class InvalidLocationException extends RuntimeException
Thrown to indicate that a
Location
instance is invalid.Since:
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description InvalidLocationException(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 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 theThrowable.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 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.)
-
-